2020-03-07 13:52:55 +01:00
|
|
|
error: lifetime in trait object type must be followed by `+`
|
|
|
|
--> $DIR/trait-object-macro-matcher.rs:11:8
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | m!('static);
|
2020-03-07 13:52:55 +01:00
|
|
|
| ^^^^^^^
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2020-03-07 13:52:55 +01:00
|
|
|
warning: trait objects without an explicit `dyn` are deprecated
|
|
|
|
--> $DIR/trait-object-macro-matcher.rs:11:8
|
|
|
|
|
|
|
|
|
LL | m!('static);
|
|
|
|
| ^^^^^^^ help: use `dyn`: `dyn 'static`
|
|
|
|
|
|
|
|
|
= note: `#[warn(bare_trait_objects)]` on by default
|
2021-06-15 17:16:21 +02:00
|
|
|
= warning: this is valid in the current edition (Rust 2015) but is not accepted in the Rust 2021 edition!
|
2021-04-16 11:06:51 +02:00
|
|
|
= note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
|
2020-03-07 13:52:55 +01:00
|
|
|
|
|
|
|
error[E0224]: at least one trait is required for an object type
|
|
|
|
--> $DIR/trait-object-macro-matcher.rs:11:8
|
|
|
|
|
|
|
|
|
LL | m!('static);
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2020-03-11 16:30:09 +01:00
|
|
|
error: aborting due to 2 previous errors; 1 warning emitted
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2020-03-21 15:43:12 +00:00
|
|
|
For more information about this error, try `rustc --explain E0224`.
|