@@ -118,7 +118,7 @@ error: `_` cannot be a raw identifier
118118LL | #[cfg_attr(r#_, cfg(r#_))]
119119 | ^^^
120120
121- error[E0539 ]: malformed `cfg` attribute input
121+ error[E0565 ]: malformed `cfg` attribute input
122122 --> $DIR/path-kw-as-cfg-pred.rs:20:1
123123 |
124124LL | #[cfg(crate)]
@@ -133,7 +133,7 @@ LL - #[cfg(crate)]
133133LL + #[cfg(predicate)]
134134 |
135135
136- error[E0539 ]: malformed `cfg` attribute input
136+ error[E0565 ]: malformed `cfg` attribute input
137137 --> $DIR/path-kw-as-cfg-pred.rs:22:1
138138 |
139139LL | #[cfg(super)]
@@ -148,7 +148,7 @@ LL - #[cfg(super)]
148148LL + #[cfg(predicate)]
149149 |
150150
151- error[E0539 ]: malformed `cfg` attribute input
151+ error[E0565 ]: malformed `cfg` attribute input
152152 --> $DIR/path-kw-as-cfg-pred.rs:24:1
153153 |
154154LL | #[cfg(self)]
@@ -163,7 +163,7 @@ LL - #[cfg(self)]
163163LL + #[cfg(predicate)]
164164 |
165165
166- error[E0539 ]: malformed `cfg` attribute input
166+ error[E0565 ]: malformed `cfg` attribute input
167167 --> $DIR/path-kw-as-cfg-pred.rs:26:1
168168 |
169169LL | #[cfg(Self)]
@@ -178,7 +178,7 @@ LL - #[cfg(Self)]
178178LL + #[cfg(predicate)]
179179 |
180180
181- error[E0539 ]: malformed `cfg_attr` attribute input
181+ error[E0565 ]: malformed `cfg_attr` attribute input
182182 --> $DIR/path-kw-as-cfg-pred.rs:28:1
183183 |
184184LL | #[cfg_attr(crate, path = "foo")]
@@ -193,7 +193,7 @@ LL - #[cfg_attr(crate, path = "foo")]
193193LL + #[cfg_attr(predicate, attr1, attr2, ...)]
194194 |
195195
196- error[E0539 ]: malformed `cfg_attr` attribute input
196+ error[E0565 ]: malformed `cfg_attr` attribute input
197197 --> $DIR/path-kw-as-cfg-pred.rs:30:1
198198 |
199199LL | #[cfg_attr(super, path = "foo")]
@@ -208,7 +208,7 @@ LL - #[cfg_attr(super, path = "foo")]
208208LL + #[cfg_attr(predicate, attr1, attr2, ...)]
209209 |
210210
211- error[E0539 ]: malformed `cfg_attr` attribute input
211+ error[E0565 ]: malformed `cfg_attr` attribute input
212212 --> $DIR/path-kw-as-cfg-pred.rs:32:1
213213 |
214214LL | #[cfg_attr(self, path = "foo")]
@@ -223,7 +223,7 @@ LL - #[cfg_attr(self, path = "foo")]
223223LL + #[cfg_attr(predicate, attr1, attr2, ...)]
224224 |
225225
226- error[E0539 ]: malformed `cfg_attr` attribute input
226+ error[E0565 ]: malformed `cfg_attr` attribute input
227227 --> $DIR/path-kw-as-cfg-pred.rs:34:1
228228 |
229229LL | #[cfg_attr(Self, path = "foo")]
@@ -238,7 +238,7 @@ LL - #[cfg_attr(Self, path = "foo")]
238238LL + #[cfg_attr(predicate, attr1, attr2, ...)]
239239 |
240240
241- error[E0539 ]: malformed `cfg` attribute input
241+ error[E0565 ]: malformed `cfg` attribute input
242242 --> $DIR/path-kw-as-cfg-pred.rs:36:18
243243 |
244244LL | #[cfg_attr(true, cfg(crate))]
@@ -253,7 +253,7 @@ LL - #[cfg_attr(true, cfg(crate))]
253253LL + #[cfg_attr(true, cfg(predicate))]
254254 |
255255
256- error[E0539 ]: malformed `cfg` attribute input
256+ error[E0565 ]: malformed `cfg` attribute input
257257 --> $DIR/path-kw-as-cfg-pred.rs:38:18
258258 |
259259LL | #[cfg_attr(true, cfg(super))]
@@ -268,7 +268,7 @@ LL - #[cfg_attr(true, cfg(super))]
268268LL + #[cfg_attr(true, cfg(predicate))]
269269 |
270270
271- error[E0539 ]: malformed `cfg` attribute input
271+ error[E0565 ]: malformed `cfg` attribute input
272272 --> $DIR/path-kw-as-cfg-pred.rs:40:18
273273 |
274274LL | #[cfg_attr(true, cfg(self))]
@@ -283,7 +283,7 @@ LL - #[cfg_attr(true, cfg(self))]
283283LL + #[cfg_attr(true, cfg(predicate))]
284284 |
285285
286- error[E0539 ]: malformed `cfg` attribute input
286+ error[E0565 ]: malformed `cfg` attribute input
287287 --> $DIR/path-kw-as-cfg-pred.rs:42:18
288288 |
289289LL | #[cfg_attr(true, cfg(Self))]
@@ -362,7 +362,7 @@ error: expected identifier, found reserved identifier `_`
362362LL | #[cfg_attr(true, cfg(_))]
363363 | ^ expected identifier, found reserved identifier
364364
365- error[E0539 ]: malformed `cfg` attribute input
365+ error[E0565 ]: malformed `cfg` attribute input
366366 --> $DIR/path-kw-as-cfg-pred.rs:90:1
367367 |
368368LL | #[cfg(r#crate)]
@@ -377,7 +377,7 @@ LL - #[cfg(r#crate)]
377377LL + #[cfg(predicate)]
378378 |
379379
380- error[E0539 ]: malformed `cfg` attribute input
380+ error[E0565 ]: malformed `cfg` attribute input
381381 --> $DIR/path-kw-as-cfg-pred.rs:93:1
382382 |
383383LL | #[cfg(r#super)]
@@ -392,7 +392,7 @@ LL - #[cfg(r#super)]
392392LL + #[cfg(predicate)]
393393 |
394394
395- error[E0539 ]: malformed `cfg` attribute input
395+ error[E0565 ]: malformed `cfg` attribute input
396396 --> $DIR/path-kw-as-cfg-pred.rs:96:1
397397 |
398398LL | #[cfg(r#self)]
@@ -407,7 +407,7 @@ LL - #[cfg(r#self)]
407407LL + #[cfg(predicate)]
408408 |
409409
410- error[E0539 ]: malformed `cfg` attribute input
410+ error[E0565 ]: malformed `cfg` attribute input
411411 --> $DIR/path-kw-as-cfg-pred.rs:99:1
412412 |
413413LL | #[cfg(r#Self)]
@@ -422,7 +422,7 @@ LL - #[cfg(r#Self)]
422422LL + #[cfg(predicate)]
423423 |
424424
425- error[E0539 ]: malformed `cfg_attr` attribute input
425+ error[E0565 ]: malformed `cfg_attr` attribute input
426426 --> $DIR/path-kw-as-cfg-pred.rs:102:1
427427 |
428428LL | #[cfg_attr(r#crate, cfg(r#crate))]
@@ -437,7 +437,7 @@ LL - #[cfg_attr(r#crate, cfg(r#crate))]
437437LL + #[cfg_attr(predicate, attr1, attr2, ...)]
438438 |
439439
440- error[E0539 ]: malformed `cfg_attr` attribute input
440+ error[E0565 ]: malformed `cfg_attr` attribute input
441441 --> $DIR/path-kw-as-cfg-pred.rs:106:1
442442 |
443443LL | #[cfg_attr(r#super, cfg(r#super))]
@@ -452,7 +452,7 @@ LL - #[cfg_attr(r#super, cfg(r#super))]
452452LL + #[cfg_attr(predicate, attr1, attr2, ...)]
453453 |
454454
455- error[E0539 ]: malformed `cfg_attr` attribute input
455+ error[E0565 ]: malformed `cfg_attr` attribute input
456456 --> $DIR/path-kw-as-cfg-pred.rs:110:1
457457 |
458458LL | #[cfg_attr(r#self, cfg(r#self))]
@@ -467,7 +467,7 @@ LL - #[cfg_attr(r#self, cfg(r#self))]
467467LL + #[cfg_attr(predicate, attr1, attr2, ...)]
468468 |
469469
470- error[E0539 ]: malformed `cfg_attr` attribute input
470+ error[E0565 ]: malformed `cfg_attr` attribute input
471471 --> $DIR/path-kw-as-cfg-pred.rs:114:1
472472 |
473473LL | #[cfg_attr(r#Self, cfg(r#Self))]
@@ -482,7 +482,7 @@ LL - #[cfg_attr(r#Self, cfg(r#Self))]
482482LL + #[cfg_attr(predicate, attr1, attr2, ...)]
483483 |
484484
485- error[E0539 ]: malformed `cfg` attribute input
485+ error[E0565 ]: malformed `cfg` attribute input
486486 --> $DIR/path-kw-as-cfg-pred.rs:9:9
487487 |
488488LL | #[cfg($crate)]
@@ -501,7 +501,7 @@ LL - #[cfg($crate)]
501501LL + #[cfg(predicate)]
502502 |
503503
504- error[E0539 ]: malformed `cfg_attr` attribute input
504+ error[E0565 ]: malformed `cfg_attr` attribute input
505505 --> $DIR/path-kw-as-cfg-pred.rs:11:9
506506 |
507507LL | #[cfg_attr($crate, path = "foo")]
@@ -520,7 +520,7 @@ LL - #[cfg_attr($crate, path = "foo")]
520520LL + #[cfg_attr(predicate, attr1, attr2, ...)]
521521 |
522522
523- error[E0539 ]: malformed `cfg` attribute input
523+ error[E0565 ]: malformed `cfg` attribute input
524524 --> $DIR/path-kw-as-cfg-pred.rs:13:26
525525 |
526526LL | #[cfg_attr(true, cfg($crate))]
@@ -539,7 +539,7 @@ LL - #[cfg_attr(true, cfg($crate))]
539539LL + #[cfg_attr(true, cfg(predicate))]
540540 |
541541
542- error[E0539 ]: malformed `cfg` macro input
542+ error[E0565 ]: malformed `cfg` macro input
543543 --> $DIR/path-kw-as-cfg-pred.rs:16:9
544544 |
545545LL | cfg!($crate);
@@ -558,7 +558,7 @@ LL - cfg!($crate);
558558LL + cfg!(predicate);
559559 |
560560
561- error[E0539 ]: malformed `cfg` macro input
561+ error[E0565 ]: malformed `cfg` macro input
562562 --> $DIR/path-kw-as-cfg-pred.rs:67:5
563563 |
564564LL | cfg!(crate);
@@ -573,7 +573,7 @@ LL - cfg!(crate);
573573LL + cfg!(predicate);
574574 |
575575
576- error[E0539 ]: malformed `cfg` macro input
576+ error[E0565 ]: malformed `cfg` macro input
577577 --> $DIR/path-kw-as-cfg-pred.rs:68:5
578578 |
579579LL | cfg!(super);
@@ -588,7 +588,7 @@ LL - cfg!(super);
588588LL + cfg!(predicate);
589589 |
590590
591- error[E0539 ]: malformed `cfg` macro input
591+ error[E0565 ]: malformed `cfg` macro input
592592 --> $DIR/path-kw-as-cfg-pred.rs:69:5
593593 |
594594LL | cfg!(self);
@@ -603,7 +603,7 @@ LL - cfg!(self);
603603LL + cfg!(predicate);
604604 |
605605
606- error[E0539 ]: malformed `cfg` macro input
606+ error[E0565 ]: malformed `cfg` macro input
607607 --> $DIR/path-kw-as-cfg-pred.rs:70:5
608608 |
609609LL | cfg!(Self);
@@ -618,7 +618,7 @@ LL - cfg!(Self);
618618LL + cfg!(predicate);
619619 |
620620
621- error[E0539 ]: malformed `cfg` macro input
621+ error[E0565 ]: malformed `cfg` macro input
622622 --> $DIR/path-kw-as-cfg-pred.rs:72:5
623623 |
624624LL | cfg!(r#crate);
@@ -633,7 +633,7 @@ LL - cfg!(r#crate);
633633LL + cfg!(predicate);
634634 |
635635
636- error[E0539 ]: malformed `cfg` macro input
636+ error[E0565 ]: malformed `cfg` macro input
637637 --> $DIR/path-kw-as-cfg-pred.rs:74:5
638638 |
639639LL | cfg!(r#super);
@@ -648,7 +648,7 @@ LL - cfg!(r#super);
648648LL + cfg!(predicate);
649649 |
650650
651- error[E0539 ]: malformed `cfg` macro input
651+ error[E0565 ]: malformed `cfg` macro input
652652 --> $DIR/path-kw-as-cfg-pred.rs:76:5
653653 |
654654LL | cfg!(r#self);
@@ -663,7 +663,7 @@ LL - cfg!(r#self);
663663LL + cfg!(predicate);
664664 |
665665
666- error[E0539 ]: malformed `cfg` macro input
666+ error[E0565 ]: malformed `cfg` macro input
667667 --> $DIR/path-kw-as-cfg-pred.rs:78:5
668668 |
669669LL | cfg!(r#Self);
@@ -698,4 +698,4 @@ LL | cfg!(_);
698698
699699error: aborting due to 64 previous errors
700700
701- For more information about this error, try `rustc --explain E0539 `.
701+ For more information about this error, try `rustc --explain E0565 `.
0 commit comments