1 error: `collapse_debuginfo` attribute should be applied to macro definitions
2 --> $DIR/collapse-debuginfo-invalid.rs:8:1
4 LL | #[collapse_debuginfo]
5 | ^^^^^^^^^^^^^^^^^^^^^
8 | ----------------- not a macro definition
10 error: `collapse_debuginfo` attribute should be applied to macro definitions
11 --> $DIR/collapse-debuginfo-invalid.rs:12:1
13 LL | #[collapse_debuginfo]
14 | ^^^^^^^^^^^^^^^^^^^^^
16 LL | use std::collections::HashMap;
17 | ------------------------------ not a macro definition
19 error: `collapse_debuginfo` attribute should be applied to macro definitions
20 --> $DIR/collapse-debuginfo-invalid.rs:16:1
22 LL | #[collapse_debuginfo]
23 | ^^^^^^^^^^^^^^^^^^^^^
25 LL | static FOO: u32 = 3;
26 | -------------------- not a macro definition
28 error: `collapse_debuginfo` attribute should be applied to macro definitions
29 --> $DIR/collapse-debuginfo-invalid.rs:20:1
31 LL | #[collapse_debuginfo]
32 | ^^^^^^^^^^^^^^^^^^^^^
34 LL | const BAR: u32 = 3;
35 | ------------------- not a macro definition
37 error: `collapse_debuginfo` attribute should be applied to macro definitions
38 --> $DIR/collapse-debuginfo-invalid.rs:24:1
40 LL | #[collapse_debuginfo]
41 | ^^^^^^^^^^^^^^^^^^^^^
44 LL | | let _ = #[collapse_debuginfo] || { };
46 LL | | #[collapse_debuginfo]
50 | |_- not a macro definition
52 error: `collapse_debuginfo` attribute should be applied to macro definitions
53 --> $DIR/collapse-debuginfo-invalid.rs:27:13
55 LL | let _ = #[collapse_debuginfo] || { };
56 | ^^^^^^^^^^^^^^^^^^^^^ ------ not a macro definition
58 error: `collapse_debuginfo` attribute should be applied to macro definitions
59 --> $DIR/collapse-debuginfo-invalid.rs:29:5
61 LL | #[collapse_debuginfo]
62 | ^^^^^^^^^^^^^^^^^^^^^
65 | ---------- not a macro definition
67 error: `collapse_debuginfo` attribute should be applied to macro definitions
68 --> $DIR/collapse-debuginfo-invalid.rs:32:13
70 LL | let _ = #[collapse_debuginfo] 3;
71 | ^^^^^^^^^^^^^^^^^^^^^ - not a macro definition
73 error: `collapse_debuginfo` attribute should be applied to macro definitions
74 --> $DIR/collapse-debuginfo-invalid.rs:35:9
76 LL | #[collapse_debuginfo]
77 | ^^^^^^^^^^^^^^^^^^^^^
80 | ------- not a macro definition
82 error: `collapse_debuginfo` attribute should be applied to macro definitions
83 --> $DIR/collapse-debuginfo-invalid.rs:41:1
85 LL | #[collapse_debuginfo]
86 | ^^^^^^^^^^^^^^^^^^^^^
90 | |_- not a macro definition
92 error: `collapse_debuginfo` attribute should be applied to macro definitions
93 --> $DIR/collapse-debuginfo-invalid.rs:46:1
95 LL | #[collapse_debuginfo]
96 | ^^^^^^^^^^^^^^^^^^^^^
98 LL | type Map = HashMap<u32, u32>;
99 | ----------------------------- not a macro definition
101 error: `collapse_debuginfo` attribute should be applied to macro definitions
102 --> $DIR/collapse-debuginfo-invalid.rs:50:1
104 LL | #[collapse_debuginfo]
105 | ^^^^^^^^^^^^^^^^^^^^^
108 LL | | #[collapse_debuginfo]
112 | |_- not a macro definition
114 error: `collapse_debuginfo` attribute should be applied to macro definitions
115 --> $DIR/collapse-debuginfo-invalid.rs:53:5
117 LL | #[collapse_debuginfo]
118 | ^^^^^^^^^^^^^^^^^^^^^
121 | ------- not a macro definition
123 error: `collapse_debuginfo` attribute should be applied to macro definitions
124 --> $DIR/collapse-debuginfo-invalid.rs:58:1
126 LL | #[collapse_debuginfo]
127 | ^^^^^^^^^^^^^^^^^^^^^
130 LL | | #[collapse_debuginfo]
134 | |_- not a macro definition
136 error: `collapse_debuginfo` attribute should be applied to macro definitions
137 --> $DIR/collapse-debuginfo-invalid.rs:61:5
139 LL | #[collapse_debuginfo]
140 | ^^^^^^^^^^^^^^^^^^^^^
143 | ---------- not a macro definition
145 error: `collapse_debuginfo` attribute should be applied to macro definitions
146 --> $DIR/collapse-debuginfo-invalid.rs:66:1
148 LL | #[collapse_debuginfo]
149 | ^^^^^^^^^^^^^^^^^^^^^
155 | |_- not a macro definition
157 error: `collapse_debuginfo` attribute should be applied to macro definitions
158 --> $DIR/collapse-debuginfo-invalid.rs:73:1
160 LL | #[collapse_debuginfo]
161 | ^^^^^^^^^^^^^^^^^^^^^
163 LL | / trait Foobar {
164 LL | | #[collapse_debuginfo]
168 | |_- not a macro definition
170 error: `collapse_debuginfo` attribute should be applied to macro definitions
171 --> $DIR/collapse-debuginfo-invalid.rs:81:1
173 LL | #[collapse_debuginfo]
174 | ^^^^^^^^^^^^^^^^^^^^^
176 LL | type AFoobar = impl Foobar;
177 | --------------------------- not a macro definition
179 error: `collapse_debuginfo` attribute should be applied to macro definitions
180 --> $DIR/collapse-debuginfo-invalid.rs:93:1
182 LL | #[collapse_debuginfo]
183 | ^^^^^^^^^^^^^^^^^^^^^
186 LL | | #[collapse_debuginfo]
188 LL | | const FOO: u32 = 3;
190 LL | | fn bar(&self) {}
192 | |_- not a macro definition
194 error: `collapse_debuginfo` attribute should be applied to macro definitions
195 --> $DIR/collapse-debuginfo-invalid.rs:76:5
197 LL | #[collapse_debuginfo]
198 | ^^^^^^^^^^^^^^^^^^^^^
201 | --------- not a macro definition
203 error: `collapse_debuginfo` attribute should be applied to macro definitions
204 --> $DIR/collapse-debuginfo-invalid.rs:96:5
206 LL | #[collapse_debuginfo]
207 | ^^^^^^^^^^^^^^^^^^^^^
209 LL | const FOO: u32 = 3;
210 | ------------------- not a macro definition
212 error: `collapse_debuginfo` attribute should be applied to macro definitions
213 --> $DIR/collapse-debuginfo-invalid.rs:100:5
215 LL | #[collapse_debuginfo]
216 | ^^^^^^^^^^^^^^^^^^^^^
218 LL | fn bar(&self) {}
219 | ---------------- not a macro definition
221 error: aborting due to 22 previous errors