@@ -27,44 +27,24 @@ error: expected identifier, found keyword `crate`
2727 |
2828LL | #[cfg_attr(crate, path = "foo")]
2929 | ^^^^^ expected identifier, found keyword
30- |
31- help: escape `crate` to use it as an identifier
32- |
33- LL | #[cfg_attr(r#crate, path = "foo")]
34- | ++
3530
3631error: expected identifier, found keyword `super`
3732 --> $DIR/path-kw-as-pred.rs:28:12
3833 |
3934LL | #[cfg_attr(super, path = "foo")]
4035 | ^^^^^ expected identifier, found keyword
41- |
42- help: escape `super` to use it as an identifier
43- |
44- LL | #[cfg_attr(r#super, path = "foo")]
45- | ++
4636
4737error: expected identifier, found keyword `self`
4838 --> $DIR/path-kw-as-pred.rs:30:12
4939 |
5040LL | #[cfg_attr(self, path = "foo")]
5141 | ^^^^ expected identifier, found keyword
52- |
53- help: escape `self` to use it as an identifier
54- |
55- LL | #[cfg_attr(r#self, path = "foo")]
56- | ++
5742
5843error: expected identifier, found keyword `Self`
5944 --> $DIR/path-kw-as-pred.rs:32:12
6045 |
6146LL | #[cfg_attr(Self, path = "foo")]
6247 | ^^^^ expected identifier, found keyword
63- |
64- help: escape `Self` to use it as an identifier
65- |
66- LL | #[cfg_attr(r#Self, path = "foo")]
67- | ++
6848
6949error: expected identifier, found keyword `crate`
7050 --> $DIR/path-kw-as-pred.rs:34:22
0 commit comments