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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
662 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 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | m!('static);
| ^^^^^^^
2018-10-20 20:36:17 +00:00
error: lifetime in trait object type must be followed by `+`
--> $DIR/trait-object-macro-matcher.rs:11:8
|
LL | m!('static);
| ^^^^^^^
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0224]: at least one trait is required for an object type
--> $DIR/trait-object-macro-matcher.rs:11:8
|
LL | m!('static);
| ^^^^^^^
error: aborting due to 3 previous errors
2018-10-20 20:36:17 +00:00
2020-03-21 15:43:12 +00:00
For more information about this error, try `rustc --explain E0224`.