mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
16 lines
437 B
Plaintext
16 lines
437 B
Plaintext
error: `?Trait` is not permitted in trait object types
|
|
--> $DIR/issue-72267.rs:4:21
|
|
|
|
|
LL | let _: Box<(dyn ?Sized)>;
|
|
| ^^^^^^
|
|
|
|
error[E0224]: at least one trait is required for an object type
|
|
--> $DIR/issue-72267.rs:4:17
|
|
|
|
|
LL | let _: Box<(dyn ?Sized)>;
|
|
| ^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0224`.
|