mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-24 16:57:21 +00:00
16 lines
484 B
Plaintext
16 lines
484 B
Plaintext
error[E0224]: at least one trait is required for an object type
|
|
--> $DIR/reject-dyn-pointeesized.rs:5:12
|
|
|
|
|
LL | type Foo = dyn PointeeSized;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error[E0224]: at least one trait is required for an object type
|
|
--> $DIR/reject-dyn-pointeesized.rs:14:16
|
|
|
|
|
LL | let y: Box<dyn PointeeSized> = x;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0224`.
|