@@ -94,17 +94,8 @@ LL | let _x = #[identity_attr] println!();
9494 = note: for more information, see https://github.com/rust-lang/rust/issues/54727
9595 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
9696
97- error[E0658]: procedural macros cannot be expanded to types
98- --> $DIR/proc-macro-gates.rs:53:13
99- |
100- LL | let _x: identity!(u32) = 3;
101- | ^^^^^^^^^^^^^^
102- |
103- = note: for more information, see https://github.com/rust-lang/rust/issues/54727
104- = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
105-
10697error[E0658]: procedural macros cannot be expanded to patterns
107- --> $DIR/proc-macro-gates.rs:54 :12
98+ --> $DIR/proc-macro-gates.rs:53 :12
10899 |
109100LL | if let identity!(Some(_x)) = Some(3) {}
110101 | ^^^^^^^^^^^^^^^^^^^
@@ -113,7 +104,7 @@ LL | if let identity!(Some(_x)) = Some(3) {}
113104 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
114105
115106error[E0658]: procedural macros cannot be expanded to statements
116- --> $DIR/proc-macro-gates.rs:57 :5
107+ --> $DIR/proc-macro-gates.rs:56 :5
117108 |
118109LL | empty!(struct S;);
119110 | ^^^^^^^^^^^^^^^^^^
@@ -122,7 +113,7 @@ LL | empty!(struct S;);
122113 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
123114
124115error[E0658]: procedural macros cannot be expanded to statements
125- --> $DIR/proc-macro-gates.rs:58 :5
116+ --> $DIR/proc-macro-gates.rs:57 :5
126117 |
127118LL | empty!(let _x = 3;);
128119 | ^^^^^^^^^^^^^^^^^^^^
@@ -131,7 +122,7 @@ LL | empty!(let _x = 3;);
131122 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
132123
133124error[E0658]: procedural macros cannot be expanded to expressions
134- --> $DIR/proc-macro-gates.rs:60 :14
125+ --> $DIR/proc-macro-gates.rs:59 :14
135126 |
136127LL | let _x = identity!(3);
137128 | ^^^^^^^^^^^^
@@ -140,14 +131,14 @@ LL | let _x = identity!(3);
140131 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
141132
142133error[E0658]: procedural macros cannot be expanded to expressions
143- --> $DIR/proc-macro-gates.rs:61 :15
134+ --> $DIR/proc-macro-gates.rs:60 :15
144135 |
145136LL | let _x = [empty!(3)];
146137 | ^^^^^^^^^
147138 |
148139 = note: for more information, see https://github.com/rust-lang/rust/issues/54727
149140 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
150141
151- error: aborting due to 17 previous errors
142+ error: aborting due to 16 previous errors
152143
153144For more information about this error, try `rustc --explain E0658`.
0 commit comments