2019-06-21 09:12:07 -05:00
error[E0224]: at least one trait is required for an object type
2021-02-08 16:15:45 -06:00
--> $DIR/macro-matcher.rs:11:8
2018-08-08 07:28:26 -05:00
|
2019-05-28 13:46:13 -05:00
LL | m!(dyn 'static +);
| ^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
2020-09-02 02:40:56 -05:00
error[E0038]: the trait `Copy` cannot be made into an object
2021-02-08 16:15:45 -06:00
--> $DIR/macro-matcher.rs:8:8
2018-08-08 07:28:26 -05:00
|
2019-05-28 13:46:13 -05:00
LL | m!(dyn Copy + Send + 'static);
2020-10-19 19:57:18 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^ `Copy` cannot be made into an object
2018-08-08 07:28:26 -05:00
|
2020-01-31 18:47:00 -06:00
= note: the trait cannot be made into an object because it requires `Self: Sized`
2020-10-15 19:23:45 -05:00
= note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
2018-08-08 07:28:26 -05:00
error: aborting due to 2 previous errors
2020-03-21 10:43:12 -05:00
Some errors have detailed explanations: E0038, E0224.
For more information about an error, try `rustc --explain E0038`.