rust/tests/ui/parser/macro/trait-object-macro-matcher.stderr

16 lines
423 B
Plaintext
Raw Normal View History

error: lifetime in trait object type must be followed by `+`
--> $DIR/trait-object-macro-matcher.rs:11:8
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | m!('static);
| ^^^^^^^
2018-10-20 15:36:17 -05:00
error[E0224]: at least one trait is required for an object type
--> $DIR/trait-object-macro-matcher.rs:11:8
|
LL | m!('static);
| ^^^^^^^
2021-07-10 03:00:54 -05:00
error: aborting due to 2 previous errors
2018-10-20 15:36:17 -05:00
2020-03-21 10:43:12 -05:00
For more information about this error, try `rustc --explain E0224`.