]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macro/trait-object-macro-matcher.stderr
Rollup merge of #92024 - pcwalton:per-codegen-unit-names, r=davidtwco
[rust.git] / src / test / ui / parser / macro / trait-object-macro-matcher.stderr
1 error: lifetime in trait object type must be followed by `+`
2   --> $DIR/trait-object-macro-matcher.rs:11:8
3    |
4 LL |     m!('static);
5    |        ^^^^^^^
6
7 error[E0224]: at least one trait is required for an object type
8   --> $DIR/trait-object-macro-matcher.rs:11:8
9    |
10 LL |     m!('static);
11    |        ^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0224`.