fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
20.2 KiB688 linesraw
1error: an extern crate cannot be `default`
2  --> $DIR/default-on-wrong-item-kind.rs:9:5
3   |
4LL |     default extern crate foo;
5   |     ^^^^^^^ `default` because of this
6   |
7   = note: only associated `fn`, `const`, and `type` items can be `default`
8
9error: a `use` import cannot be `default`
10  --> $DIR/default-on-wrong-item-kind.rs:10:5
11   |
12LL |     default use foo;
13   |     ^^^^^^^ `default` because of this
14   |
15   = note: only associated `fn`, `const`, and `type` items can be `default`
16
17error: a static item cannot be `default`
18  --> $DIR/default-on-wrong-item-kind.rs:11:5
19   |
20LL |     default static foo: u8;
21   |     ^^^^^^^ `default` because of this
22   |
23   = note: only associated `fn`, `const`, and `type` items can be `default`
24
25error: a module cannot be `default`
26  --> $DIR/default-on-wrong-item-kind.rs:14:5
27   |
28LL |     default mod foo {}
29   |     ^^^^^^^ `default` because of this
30   |
31   = note: only associated `fn`, `const`, and `type` items can be `default`
32
33error: an extern block cannot be `default`
34  --> $DIR/default-on-wrong-item-kind.rs:15:5
35   |
36LL |     default extern "C" {}
37   |     ^^^^^^^ `default` because of this
38   |
39   = note: only associated `fn`, `const`, and `type` items can be `default`
40
41error: an enum cannot be `default`
42  --> $DIR/default-on-wrong-item-kind.rs:17:5
43   |
44LL |     default enum foo {}
45   |     ^^^^^^^ `default` because of this
46   |
47   = note: only associated `fn`, `const`, and `type` items can be `default`
48
49error: a struct cannot be `default`
50  --> $DIR/default-on-wrong-item-kind.rs:18:5
51   |
52LL |     default struct foo {}
53   |     ^^^^^^^ `default` because of this
54   |
55   = note: only associated `fn`, `const`, and `type` items can be `default`
56
57error: a union cannot be `default`
58  --> $DIR/default-on-wrong-item-kind.rs:19:5
59   |
60LL |     default union foo {}
61   |     ^^^^^^^ `default` because of this
62   |
63   = note: only associated `fn`, `const`, and `type` items can be `default`
64
65error: a trait cannot be `default`
66  --> $DIR/default-on-wrong-item-kind.rs:20:5
67   |
68LL |     default trait foo {}
69   |     ^^^^^^^ `default` because of this
70   |
71   = note: only associated `fn`, `const`, and `type` items can be `default`
72
73error: a trait alias cannot be `default`
74  --> $DIR/default-on-wrong-item-kind.rs:21:5
75   |
76LL |     default trait foo = Ord;
77   |     ^^^^^^^ `default` because of this
78   |
79   = note: only associated `fn`, `const`, and `type` items can be `default`
80
81error: an item macro invocation cannot be `default`
82  --> $DIR/default-on-wrong-item-kind.rs:25:5
83   |
84LL |     default default!();
85   |     ^^^^^^^ `default` because of this
86   |
87   = note: only associated `fn`, `const`, and `type` items can be `default`
88
89error: an item macro invocation cannot be `default`
90  --> $DIR/default-on-wrong-item-kind.rs:26:5
91   |
92LL |     default default::foo::bar!();
93   |     ^^^^^^^ `default` because of this
94   |
95   = note: only associated `fn`, `const`, and `type` items can be `default`
96
97error: a macro definition cannot be `default`
98  --> $DIR/default-on-wrong-item-kind.rs:27:5
99   |
100LL |     default macro foo {}
101   |     ^^^^^^^ `default` because of this
102   |
103   = note: only associated `fn`, `const`, and `type` items can be `default`
104
105error: a macro definition cannot be `default`
106  --> $DIR/default-on-wrong-item-kind.rs:28:5
107   |
108LL |     default macro_rules! foo {}
109   |     ^^^^^^^ `default` because of this
110   |
111   = note: only associated `fn`, `const`, and `type` items can be `default`
112
113error: an extern crate cannot be `default`
114  --> $DIR/default-on-wrong-item-kind.rs:33:5
115   |
116LL |     default extern crate foo;
117   |     ^^^^^^^ `default` because of this
118   |
119   = note: only associated `fn`, `const`, and `type` items can be `default`
120
121error: extern crate is not supported in `extern` blocks
122  --> $DIR/default-on-wrong-item-kind.rs:33:5
123   |
124LL |     default extern crate foo;
125   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
126
127error: a `use` import cannot be `default`
128  --> $DIR/default-on-wrong-item-kind.rs:35:5
129   |
130LL |     default use foo;
131   |     ^^^^^^^ `default` because of this
132   |
133   = note: only associated `fn`, `const`, and `type` items can be `default`
134
135error: `use` import is not supported in `extern` blocks
136  --> $DIR/default-on-wrong-item-kind.rs:35:5
137   |
138LL |     default use foo;
139   |     ^^^^^^^^^^^^^^^^
140
141error: a static item cannot be `default`
142  --> $DIR/default-on-wrong-item-kind.rs:37:5
143   |
144LL |     default static foo: u8;
145   |     ^^^^^^^ `default` because of this
146   |
147   = note: only associated `fn`, `const`, and `type` items can be `default`
148
149error: extern items cannot be `const`
150  --> $DIR/default-on-wrong-item-kind.rs:38:19
151   |
152LL |     default const foo: u8;
153   |     --------------^^^
154   |     |
155   |     help: try using a static value: `static`
156   |
157   = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
158
159error: a module cannot be `default`
160  --> $DIR/default-on-wrong-item-kind.rs:41:5
161   |
162LL |     default mod foo {}
163   |     ^^^^^^^ `default` because of this
164   |
165   = note: only associated `fn`, `const`, and `type` items can be `default`
166
167error: module is not supported in `extern` blocks
168  --> $DIR/default-on-wrong-item-kind.rs:41:5
169   |
170LL |     default mod foo {}
171   |     ^^^^^^^^^^^^^^^
172
173error: an extern block cannot be `default`
174  --> $DIR/default-on-wrong-item-kind.rs:43:5
175   |
176LL |     default extern "C" {}
177   |     ^^^^^^^ `default` because of this
178   |
179   = note: only associated `fn`, `const`, and `type` items can be `default`
180
181error: extern block is not supported in `extern` blocks
182  --> $DIR/default-on-wrong-item-kind.rs:43:5
183   |
184LL |     default extern "C" {}
185   |     ^^^^^^^^^^^^^^^^^^
186
187error: an enum cannot be `default`
188  --> $DIR/default-on-wrong-item-kind.rs:46:5
189   |
190LL |     default enum foo {}
191   |     ^^^^^^^ `default` because of this
192   |
193   = note: only associated `fn`, `const`, and `type` items can be `default`
194
195error: enum is not supported in `extern` blocks
196  --> $DIR/default-on-wrong-item-kind.rs:46:5
197   |
198LL |     default enum foo {}
199   |     ^^^^^^^^^^^^^^^^
200
201error: a struct cannot be `default`
202  --> $DIR/default-on-wrong-item-kind.rs:48:5
203   |
204LL |     default struct foo {}
205   |     ^^^^^^^ `default` because of this
206   |
207   = note: only associated `fn`, `const`, and `type` items can be `default`
208
209error: struct is not supported in `extern` blocks
210  --> $DIR/default-on-wrong-item-kind.rs:48:5
211   |
212LL |     default struct foo {}
213   |     ^^^^^^^^^^^^^^^^^^
214
215error: a union cannot be `default`
216  --> $DIR/default-on-wrong-item-kind.rs:50:5
217   |
218LL |     default union foo {}
219   |     ^^^^^^^ `default` because of this
220   |
221   = note: only associated `fn`, `const`, and `type` items can be `default`
222
223error: union is not supported in `extern` blocks
224  --> $DIR/default-on-wrong-item-kind.rs:50:5
225   |
226LL |     default union foo {}
227   |     ^^^^^^^^^^^^^^^^^
228
229error: a trait cannot be `default`
230  --> $DIR/default-on-wrong-item-kind.rs:52:5
231   |
232LL |     default trait foo {}
233   |     ^^^^^^^ `default` because of this
234   |
235   = note: only associated `fn`, `const`, and `type` items can be `default`
236
237error: trait is not supported in `extern` blocks
238  --> $DIR/default-on-wrong-item-kind.rs:52:5
239   |
240LL |     default trait foo {}
241   |     ^^^^^^^^^^^^^^^^^
242
243error: a trait alias cannot be `default`
244  --> $DIR/default-on-wrong-item-kind.rs:54:5
245   |
246LL |     default trait foo = Ord;
247   |     ^^^^^^^ `default` because of this
248   |
249   = note: only associated `fn`, `const`, and `type` items can be `default`
250
251error: trait alias is not supported in `extern` blocks
252  --> $DIR/default-on-wrong-item-kind.rs:54:5
253   |
254LL |     default trait foo = Ord;
255   |     ^^^^^^^^^^^^^^^^^^^^^^^^
256
257error: implementation is not supported in `extern` blocks
258  --> $DIR/default-on-wrong-item-kind.rs:56:5
259   |
260LL |     default impl foo {}
261   |     ^^^^^^^^^^^^^^^^
262
263error: an item macro invocation cannot be `default`
264  --> $DIR/default-on-wrong-item-kind.rs:60:5
265   |
266LL |     default default!();
267   |     ^^^^^^^ `default` because of this
268   |
269   = note: only associated `fn`, `const`, and `type` items can be `default`
270
271error: an item macro invocation cannot be `default`
272  --> $DIR/default-on-wrong-item-kind.rs:61:5
273   |
274LL |     default default::foo::bar!();
275   |     ^^^^^^^ `default` because of this
276   |
277   = note: only associated `fn`, `const`, and `type` items can be `default`
278
279error: a macro definition cannot be `default`
280  --> $DIR/default-on-wrong-item-kind.rs:62:5
281   |
282LL |     default macro foo {}
283   |     ^^^^^^^ `default` because of this
284   |
285   = note: only associated `fn`, `const`, and `type` items can be `default`
286
287error: macro definition is not supported in `extern` blocks
288  --> $DIR/default-on-wrong-item-kind.rs:62:5
289   |
290LL |     default macro foo {}
291   |     ^^^^^^^^^^^^^^^^^
292
293error: a macro definition cannot be `default`
294  --> $DIR/default-on-wrong-item-kind.rs:64:5
295   |
296LL |     default macro_rules! foo {}
297   |     ^^^^^^^ `default` because of this
298   |
299   = note: only associated `fn`, `const`, and `type` items can be `default`
300
301error: macro definition is not supported in `extern` blocks
302  --> $DIR/default-on-wrong-item-kind.rs:64:5
303   |
304LL |     default macro_rules! foo {}
305   |     ^^^^^^^^^^^^^^^^^^^^^^^^
306
307error: an extern crate cannot be `default`
308  --> $DIR/default-on-wrong-item-kind.rs:70:5
309   |
310LL |     default extern crate foo;
311   |     ^^^^^^^ `default` because of this
312   |
313   = note: only associated `fn`, `const`, and `type` items can be `default`
314
315error: extern crate is not supported in `trait`s or `impl`s
316  --> $DIR/default-on-wrong-item-kind.rs:70:5
317   |
318LL |     default extern crate foo;
319   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
320
321error: a `use` import cannot be `default`
322  --> $DIR/default-on-wrong-item-kind.rs:72:5
323   |
324LL |     default use foo;
325   |     ^^^^^^^ `default` because of this
326   |
327   = note: only associated `fn`, `const`, and `type` items can be `default`
328
329error: `use` import is not supported in `trait`s or `impl`s
330  --> $DIR/default-on-wrong-item-kind.rs:72:5
331   |
332LL |     default use foo;
333   |     ^^^^^^^^^^^^^^^^
334
335error: a static item cannot be `default`
336  --> $DIR/default-on-wrong-item-kind.rs:74:5
337   |
338LL |     default static foo: u8;
339   |     ^^^^^^^ `default` because of this
340   |
341   = note: only associated `fn`, `const`, and `type` items can be `default`
342
343error: associated `static` items are not allowed
344  --> $DIR/default-on-wrong-item-kind.rs:74:5
345   |
346LL |     default static foo: u8;
347   |     ^^^^^^^^^^^^^^^^^^^^^^^
348
349error: a module cannot be `default`
350  --> $DIR/default-on-wrong-item-kind.rs:78:5
351   |
352LL |     default mod foo {}
353   |     ^^^^^^^ `default` because of this
354   |
355   = note: only associated `fn`, `const`, and `type` items can be `default`
356
357error: module is not supported in `trait`s or `impl`s
358  --> $DIR/default-on-wrong-item-kind.rs:78:5
359   |
360LL |     default mod foo {}
361   |     ^^^^^^^^^^^^^^^
362
363error: an extern block cannot be `default`
364  --> $DIR/default-on-wrong-item-kind.rs:80:5
365   |
366LL |     default extern "C" {}
367   |     ^^^^^^^ `default` because of this
368   |
369   = note: only associated `fn`, `const`, and `type` items can be `default`
370
371error: extern block is not supported in `trait`s or `impl`s
372  --> $DIR/default-on-wrong-item-kind.rs:80:5
373   |
374LL |     default extern "C" {}
375   |     ^^^^^^^^^^^^^^^^^^
376
377error: an enum cannot be `default`
378  --> $DIR/default-on-wrong-item-kind.rs:83:5
379   |
380LL |     default enum foo {}
381   |     ^^^^^^^ `default` because of this
382   |
383   = note: only associated `fn`, `const`, and `type` items can be `default`
384
385error: enum is not supported in `trait`s or `impl`s
386  --> $DIR/default-on-wrong-item-kind.rs:83:5
387   |
388LL |     default enum foo {}
389   |     ^^^^^^^^^^^^^^^^
390
391error: a struct cannot be `default`
392  --> $DIR/default-on-wrong-item-kind.rs:85:5
393   |
394LL |     default struct foo {}
395   |     ^^^^^^^ `default` because of this
396   |
397   = note: only associated `fn`, `const`, and `type` items can be `default`
398
399error: struct is not supported in `trait`s or `impl`s
400  --> $DIR/default-on-wrong-item-kind.rs:85:5
401   |
402LL |     default struct foo {}
403   |     ^^^^^^^^^^^^^^^^^^
404
405error: a union cannot be `default`
406  --> $DIR/default-on-wrong-item-kind.rs:87:5
407   |
408LL |     default union foo {}
409   |     ^^^^^^^ `default` because of this
410   |
411   = note: only associated `fn`, `const`, and `type` items can be `default`
412
413error: union is not supported in `trait`s or `impl`s
414  --> $DIR/default-on-wrong-item-kind.rs:87:5
415   |
416LL |     default union foo {}
417   |     ^^^^^^^^^^^^^^^^^
418
419error: a trait cannot be `default`
420  --> $DIR/default-on-wrong-item-kind.rs:89:5
421   |
422LL |     default trait foo {}
423   |     ^^^^^^^ `default` because of this
424   |
425   = note: only associated `fn`, `const`, and `type` items can be `default`
426
427error: trait is not supported in `trait`s or `impl`s
428  --> $DIR/default-on-wrong-item-kind.rs:89:5
429   |
430LL |     default trait foo {}
431   |     ^^^^^^^^^^^^^^^^^
432
433error: a trait alias cannot be `default`
434  --> $DIR/default-on-wrong-item-kind.rs:91:5
435   |
436LL |     default trait foo = Ord;
437   |     ^^^^^^^ `default` because of this
438   |
439   = note: only associated `fn`, `const`, and `type` items can be `default`
440
441error: trait alias is not supported in `trait`s or `impl`s
442  --> $DIR/default-on-wrong-item-kind.rs:91:5
443   |
444LL |     default trait foo = Ord;
445   |     ^^^^^^^^^^^^^^^^^^^^^^^^
446
447error: implementation is not supported in `trait`s or `impl`s
448  --> $DIR/default-on-wrong-item-kind.rs:93:5
449   |
450LL |     default impl foo {}
451   |     ^^^^^^^^^^^^^^^^
452
453error: an item macro invocation cannot be `default`
454  --> $DIR/default-on-wrong-item-kind.rs:97:5
455   |
456LL |     default default!();
457   |     ^^^^^^^ `default` because of this
458   |
459   = note: only associated `fn`, `const`, and `type` items can be `default`
460
461error: an item macro invocation cannot be `default`
462  --> $DIR/default-on-wrong-item-kind.rs:98:5
463   |
464LL |     default default::foo::bar!();
465   |     ^^^^^^^ `default` because of this
466   |
467   = note: only associated `fn`, `const`, and `type` items can be `default`
468
469error: a macro definition cannot be `default`
470  --> $DIR/default-on-wrong-item-kind.rs:99:5
471   |
472LL |     default macro foo {}
473   |     ^^^^^^^ `default` because of this
474   |
475   = note: only associated `fn`, `const`, and `type` items can be `default`
476
477error: macro definition is not supported in `trait`s or `impl`s
478  --> $DIR/default-on-wrong-item-kind.rs:99:5
479   |
480LL |     default macro foo {}
481   |     ^^^^^^^^^^^^^^^^^
482
483error: a macro definition cannot be `default`
484  --> $DIR/default-on-wrong-item-kind.rs:101:5
485   |
486LL |     default macro_rules! foo {}
487   |     ^^^^^^^ `default` because of this
488   |
489   = note: only associated `fn`, `const`, and `type` items can be `default`
490
491error: macro definition is not supported in `trait`s or `impl`s
492  --> $DIR/default-on-wrong-item-kind.rs:101:5
493   |
494LL |     default macro_rules! foo {}
495   |     ^^^^^^^^^^^^^^^^^^^^^^^^
496
497error: an extern crate cannot be `default`
498  --> $DIR/default-on-wrong-item-kind.rs:107:5
499   |
500LL |     default extern crate foo;
501   |     ^^^^^^^ `default` because of this
502   |
503   = note: only associated `fn`, `const`, and `type` items can be `default`
504
505error: extern crate is not supported in `trait`s or `impl`s
506  --> $DIR/default-on-wrong-item-kind.rs:107:5
507   |
508LL |     default extern crate foo;
509   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
510
511error: a `use` import cannot be `default`
512  --> $DIR/default-on-wrong-item-kind.rs:109:5
513   |
514LL |     default use foo;
515   |     ^^^^^^^ `default` because of this
516   |
517   = note: only associated `fn`, `const`, and `type` items can be `default`
518
519error: `use` import is not supported in `trait`s or `impl`s
520  --> $DIR/default-on-wrong-item-kind.rs:109:5
521   |
522LL |     default use foo;
523   |     ^^^^^^^^^^^^^^^^
524
525error: a static item cannot be `default`
526  --> $DIR/default-on-wrong-item-kind.rs:111:5
527   |
528LL |     default static foo: u8;
529   |     ^^^^^^^ `default` because of this
530   |
531   = note: only associated `fn`, `const`, and `type` items can be `default`
532
533error: associated `static` items are not allowed
534  --> $DIR/default-on-wrong-item-kind.rs:111:5
535   |
536LL |     default static foo: u8;
537   |     ^^^^^^^^^^^^^^^^^^^^^^^
538
539error: a module cannot be `default`
540  --> $DIR/default-on-wrong-item-kind.rs:115:5
541   |
542LL |     default mod foo {}
543   |     ^^^^^^^ `default` because of this
544   |
545   = note: only associated `fn`, `const`, and `type` items can be `default`
546
547error: module is not supported in `trait`s or `impl`s
548  --> $DIR/default-on-wrong-item-kind.rs:115:5
549   |
550LL |     default mod foo {}
551   |     ^^^^^^^^^^^^^^^
552
553error: an extern block cannot be `default`
554  --> $DIR/default-on-wrong-item-kind.rs:117:5
555   |
556LL |     default extern "C" {}
557   |     ^^^^^^^ `default` because of this
558   |
559   = note: only associated `fn`, `const`, and `type` items can be `default`
560
561error: extern block is not supported in `trait`s or `impl`s
562  --> $DIR/default-on-wrong-item-kind.rs:117:5
563   |
564LL |     default extern "C" {}
565   |     ^^^^^^^^^^^^^^^^^^
566
567error: an enum cannot be `default`
568  --> $DIR/default-on-wrong-item-kind.rs:120:5
569   |
570LL |     default enum foo {}
571   |     ^^^^^^^ `default` because of this
572   |
573   = note: only associated `fn`, `const`, and `type` items can be `default`
574
575error: enum is not supported in `trait`s or `impl`s
576  --> $DIR/default-on-wrong-item-kind.rs:120:5
577   |
578LL |     default enum foo {}
579   |     ^^^^^^^^^^^^^^^^
580
581error: a struct cannot be `default`
582  --> $DIR/default-on-wrong-item-kind.rs:122:5
583   |
584LL |     default struct foo {}
585   |     ^^^^^^^ `default` because of this
586   |
587   = note: only associated `fn`, `const`, and `type` items can be `default`
588
589error: struct is not supported in `trait`s or `impl`s
590  --> $DIR/default-on-wrong-item-kind.rs:122:5
591   |
592LL |     default struct foo {}
593   |     ^^^^^^^^^^^^^^^^^^
594
595error: a union cannot be `default`
596  --> $DIR/default-on-wrong-item-kind.rs:124:5
597   |
598LL |     default union foo {}
599   |     ^^^^^^^ `default` because of this
600   |
601   = note: only associated `fn`, `const`, and `type` items can be `default`
602
603error: union is not supported in `trait`s or `impl`s
604  --> $DIR/default-on-wrong-item-kind.rs:124:5
605   |
606LL |     default union foo {}
607   |     ^^^^^^^^^^^^^^^^^
608
609error: a trait cannot be `default`
610  --> $DIR/default-on-wrong-item-kind.rs:126:5
611   |
612LL |     default trait foo {}
613   |     ^^^^^^^ `default` because of this
614   |
615   = note: only associated `fn`, `const`, and `type` items can be `default`
616
617error: trait is not supported in `trait`s or `impl`s
618  --> $DIR/default-on-wrong-item-kind.rs:126:5
619   |
620LL |     default trait foo {}
621   |     ^^^^^^^^^^^^^^^^^
622
623error: a trait alias cannot be `default`
624  --> $DIR/default-on-wrong-item-kind.rs:128:5
625   |
626LL |     default trait foo = Ord;
627   |     ^^^^^^^ `default` because of this
628   |
629   = note: only associated `fn`, `const`, and `type` items can be `default`
630
631error: trait alias is not supported in `trait`s or `impl`s
632  --> $DIR/default-on-wrong-item-kind.rs:128:5
633   |
634LL |     default trait foo = Ord;
635   |     ^^^^^^^^^^^^^^^^^^^^^^^^
636
637error: implementation is not supported in `trait`s or `impl`s
638  --> $DIR/default-on-wrong-item-kind.rs:130:5
639   |
640LL |     default impl foo {}
641   |     ^^^^^^^^^^^^^^^^
642
643error: an item macro invocation cannot be `default`
644  --> $DIR/default-on-wrong-item-kind.rs:134:5
645   |
646LL |     default default!();
647   |     ^^^^^^^ `default` because of this
648   |
649   = note: only associated `fn`, `const`, and `type` items can be `default`
650
651error: an item macro invocation cannot be `default`
652  --> $DIR/default-on-wrong-item-kind.rs:135:5
653   |
654LL |     default default::foo::bar!();
655   |     ^^^^^^^ `default` because of this
656   |
657   = note: only associated `fn`, `const`, and `type` items can be `default`
658
659error: a macro definition cannot be `default`
660  --> $DIR/default-on-wrong-item-kind.rs:136:5
661   |
662LL |     default macro foo {}
663   |     ^^^^^^^ `default` because of this
664   |
665   = note: only associated `fn`, `const`, and `type` items can be `default`
666
667error: macro definition is not supported in `trait`s or `impl`s
668  --> $DIR/default-on-wrong-item-kind.rs:136:5
669   |
670LL |     default macro foo {}
671   |     ^^^^^^^^^^^^^^^^^
672
673error: a macro definition cannot be `default`
674  --> $DIR/default-on-wrong-item-kind.rs:138:5
675   |
676LL |     default macro_rules! foo {}
677   |     ^^^^^^^ `default` because of this
678   |
679   = note: only associated `fn`, `const`, and `type` items can be `default`
680
681error: macro definition is not supported in `trait`s or `impl`s
682  --> $DIR/default-on-wrong-item-kind.rs:138:5
683   |
684LL |     default macro_rules! foo {}
685   |     ^^^^^^^^^^^^^^^^^^^^^^^^
686
687error: aborting due to 95 previous errors
688