1 error: lifetime in trait object type must be followed by `+`
2 --> $DIR/trait-object-macro-matcher.rs:11:8
7 warning: trait objects without an explicit `dyn` are deprecated
8 --> $DIR/trait-object-macro-matcher.rs:11:8
11 | ^^^^^^^ help: use `dyn`: `dyn 'static`
13 = note: `#[warn(bare_trait_objects)]` on by default
14 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
15 = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
17 error[E0224]: at least one trait is required for an object type
18 --> $DIR/trait-object-macro-matcher.rs:11:8
23 error: aborting due to 2 previous errors; 1 warning emitted
25 For more information about this error, try `rustc --explain E0224`.