summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/macro/trait-object-macro-matcher.stderr
blob: 40082564bad4c52a2ee9e4d7e98abd1dc69d88f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: lifetime in trait object type must be followed by `+`
  --> $DIR/trait-object-macro-matcher.rs:11:8
   |
LL |     m!('static);
   |        ^^^^^^^

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 2 previous errors

For more information about this error, try `rustc --explain E0224`.