@@ -28,7 +28,7 @@ error: identifiers cannot contain emoji: `🙃`
28
28
LL | demo3!(🙃#"");
29
29
| ^^
30
30
31
- warning: will be parsed as a guarded string in Rust 2024
31
+ warning: reserved token in Rust 2024
32
32
--> $DIR/reserved-guarded-strings-lexing.rs:28:12
33
33
|
34
34
LL | demo3!(## "foo");
@@ -41,98 +41,98 @@ note: the lint level is defined here
41
41
|
42
42
LL | #![warn(rust_2024_guarded_string_incompatible_syntax)]
43
43
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
44
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
45
45
|
46
46
LL | demo3!(# # "foo");
47
47
| +
48
48
49
- warning: will be parsed as a guarded string in Rust 2024
49
+ warning: reserved token in Rust 2024
50
50
--> $DIR/reserved-guarded-strings-lexing.rs:31:12
51
51
|
52
52
LL | demo4!(### "foo");
53
53
| ^^
54
54
|
55
55
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
56
56
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
57
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
57
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
58
58
|
59
59
LL | demo4!(# ## "foo");
60
60
| +
61
61
62
- warning: will be parsed as a guarded string in Rust 2024
62
+ warning: reserved token in Rust 2024
63
63
--> $DIR/reserved-guarded-strings-lexing.rs:31:13
64
64
|
65
65
LL | demo4!(### "foo");
66
66
| ^^
67
67
|
68
68
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
69
69
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
70
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
70
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
71
71
|
72
72
LL | demo4!(## # "foo");
73
73
| +
74
74
75
- warning: will be parsed as a guarded string in Rust 2024
75
+ warning: reserved token in Rust 2024
76
76
--> $DIR/reserved-guarded-strings-lexing.rs:36:12
77
77
|
78
78
LL | demo4!(## "foo"#);
79
79
| ^^
80
80
|
81
81
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
82
82
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
83
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
83
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
84
84
|
85
85
LL | demo4!(# # "foo"#);
86
86
| +
87
87
88
- warning: will be parsed as a guarded string in Rust 2024
88
+ warning: reserved token in Rust 2024
89
89
--> $DIR/reserved-guarded-strings-lexing.rs:39:12
90
90
|
91
91
LL | demo7!(### "foo"###);
92
92
| ^^
93
93
|
94
94
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
95
95
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
96
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
96
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
97
97
|
98
98
LL | demo7!(# ## "foo"###);
99
99
| +
100
100
101
- warning: will be parsed as a guarded string in Rust 2024
101
+ warning: reserved token in Rust 2024
102
102
--> $DIR/reserved-guarded-strings-lexing.rs:39:13
103
103
|
104
104
LL | demo7!(### "foo"###);
105
105
| ^^
106
106
|
107
107
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
108
108
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
109
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
109
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
110
110
|
111
111
LL | demo7!(## # "foo"###);
112
112
| +
113
113
114
- warning: will be parsed as a guarded string in Rust 2024
114
+ warning: reserved token in Rust 2024
115
115
--> $DIR/reserved-guarded-strings-lexing.rs:39:21
116
116
|
117
117
LL | demo7!(### "foo"###);
118
118
| ^^
119
119
|
120
120
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
121
121
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
122
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
122
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
123
123
|
124
124
LL | demo7!(### "foo"# ##);
125
125
| +
126
126
127
- warning: will be parsed as a guarded string in Rust 2024
127
+ warning: reserved token in Rust 2024
128
128
--> $DIR/reserved-guarded-strings-lexing.rs:39:22
129
129
|
130
130
LL | demo7!(### "foo"###);
131
131
| ^^
132
132
|
133
133
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
134
134
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
135
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
135
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
136
136
|
137
137
LL | demo7!(### "foo"## #);
138
138
| +
@@ -189,54 +189,54 @@ help: insert whitespace here to avoid this being parsed as a guarded string in R
189
189
LL | demo5!(# "foo"###);
190
190
| +
191
191
192
- warning: will be parsed as a guarded string in Rust 2024
192
+ warning: reserved token in Rust 2024
193
193
--> $DIR/reserved-guarded-strings-lexing.rs:56:18
194
194
|
195
195
LL | demo5!(#"foo"###);
196
196
| ^^
197
197
|
198
198
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
199
199
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
200
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
200
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
201
201
|
202
202
LL | demo5!(#"foo"# ##);
203
203
| +
204
204
205
- warning: will be parsed as a guarded string in Rust 2024
205
+ warning: reserved token in Rust 2024
206
206
--> $DIR/reserved-guarded-strings-lexing.rs:56:19
207
207
|
208
208
LL | demo5!(#"foo"###);
209
209
| ^^
210
210
|
211
211
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
212
212
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
213
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
213
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
214
214
|
215
215
LL | demo5!(#"foo"## #);
216
216
| +
217
217
218
- warning: will be parsed as a guarded string in Rust 2024
218
+ warning: reserved token in Rust 2024
219
219
--> $DIR/reserved-guarded-strings-lexing.rs:63:17
220
220
|
221
221
LL | demo4!("foo"###);
222
222
| ^^
223
223
|
224
224
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
225
225
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
226
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
226
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
227
227
|
228
228
LL | demo4!("foo"# ##);
229
229
| +
230
230
231
- warning: will be parsed as a guarded string in Rust 2024
231
+ warning: reserved token in Rust 2024
232
232
--> $DIR/reserved-guarded-strings-lexing.rs:63:18
233
233
|
234
234
LL | demo4!("foo"###);
235
235
| ^^
236
236
|
237
237
= warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
238
238
= note: for more information, see issue #123735 <https://github.com/rust-lang/rust/issues/123735>
239
- help: insert whitespace here to avoid this being parsed as a guarded string in Rust 2024
239
+ help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
240
240
|
241
241
LL | demo4!("foo"## #);
242
242
| +
0 commit comments