1 error[E0224]: at least one trait is required for an object type
2 --> $DIR/trait-object-macro-matcher.rs:11:8
4 LL | m!(dyn 'static +);
7 error[E0038]: the trait `std::marker::Copy` cannot be made into an object
8 --> $DIR/trait-object-macro-matcher.rs:8:8
10 LL | m!(dyn Copy + Send + 'static);
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` cannot be made into an object
13 = note: traits that require `Self: Sized` cannot be made into an object
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0038`.