2018-08-08 14:28:26 +02:00
|
|
|
error[E0224]: at least one non-builtin trait is required for an object type
|
2019-05-28 14:46:13 -04:00
|
|
|
--> $DIR/trait-object-macro-matcher.rs:11:8
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | m!(dyn 'static +);
|
|
|
|
|
| ^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0038]: the trait `std::marker::Copy` cannot be made into an object
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trait-object-macro-matcher.rs:8:8
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | m!(dyn Copy + Send + 'static);
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` cannot be made into an object
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
= note: the trait cannot require that `Self : Sized`
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
2019-04-17 13:26:38 -04:00
|
|
|
For more information about this error, try `rustc --explain E0038`.
|