@@ -18,23 +18,11 @@ LL | fn i_like_to_😅_a_lot() -> 👀 {
18
18
LL | let _ = i_like_to_😄_a_lot() ➖ 4;
19
19
| ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `i_like_to_😅_a_lot`
20
20
21
- error: identifiers cannot contain emoji: `i_like_to_😄_a_lot`
22
- --> $DIR/emoji-identifiers.rs:13:13
23
- |
24
- LL | let _ = i_like_to_😄_a_lot() ➖ 4;
25
- | ^^^^^^^^^^^^^^^^^^
26
-
27
- error: identifiers cannot contain emoji: `full_of_✨`
28
- --> $DIR/emoji-identifiers.rs:4:8
29
- |
30
- LL | fn full_of_✨() -> 👀 {
31
- | ^^^^^^^^^^
32
-
33
- error: identifiers cannot contain emoji: `full_of✨`
34
- --> $DIR/emoji-identifiers.rs:9:8
21
+ error: identifiers cannot contain emoji: `ABig👩👩👧👧Family`
22
+ --> $DIR/emoji-identifiers.rs:1:8
35
23
|
36
- LL | 👀::full_of✨()
37
- | ^^^^^^^^^
24
+ LL | struct ABig👩👩👧👧Family;
25
+ | ^^^^^^^^^ ^^^^^^^^^
38
26
39
27
error: identifiers cannot contain emoji: `👀`
40
28
--> $DIR/emoji-identifiers.rs:2:8
@@ -53,17 +41,29 @@ LL | fn i_like_to_😅_a_lot() -> 👀 {
53
41
LL | 👀::full_of✨()
54
42
| ^^
55
43
44
+ error: identifiers cannot contain emoji: `full_of_✨`
45
+ --> $DIR/emoji-identifiers.rs:4:8
46
+ |
47
+ LL | fn full_of_✨() -> 👀 {
48
+ | ^^^^^^^^^^
49
+
56
50
error: identifiers cannot contain emoji: `i_like_to_😅_a_lot`
57
51
--> $DIR/emoji-identifiers.rs:8:4
58
52
|
59
53
LL | fn i_like_to_😅_a_lot() -> 👀 {
60
54
| ^^^^^^^^^^^^^^^^^^
61
55
62
- error: identifiers cannot contain emoji: `ABig👩👩👧👧Family `
63
- --> $DIR/emoji-identifiers.rs:1 :8
56
+ error: identifiers cannot contain emoji: `full_of✨ `
57
+ --> $DIR/emoji-identifiers.rs:9 :8
64
58
|
65
- LL | struct ABig👩👩👧👧Family;
66
- | ^^^^^^^^^^^^^^^^^^
59
+ LL | 👀::full_of✨()
60
+ | ^^^^^^^^^
61
+
62
+ error: identifiers cannot contain emoji: `i_like_to_😄_a_lot`
63
+ --> $DIR/emoji-identifiers.rs:13:13
64
+ |
65
+ LL | let _ = i_like_to_😄_a_lot() ➖ 4;
66
+ | ^^^^^^^^^^^^^^^^^^
67
67
68
68
error[E0599]: no function or associated item named `full_of✨` found for struct `👀` in the current scope
69
69
--> $DIR/emoji-identifiers.rs:9:8
0 commit comments