rust/tests/ui/traits/wf-object/only-maybe-bound.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
419 B
Plaintext
Raw Normal View History

error: `?Trait` is not permitted in trait object types
2021-02-08 16:15:45 -06:00
--> $DIR/only-maybe-bound.rs:3:15
|
LL | type _0 = dyn ?Sized;
| ^^^^^^
error[E0224]: at least one trait is required for an object type
2021-02-08 16:15:45 -06:00
--> $DIR/only-maybe-bound.rs:3:11
2019-03-30 17:06:09 -05:00
|
LL | type _0 = dyn ?Sized;
| ^^^^^^^^^^
error: aborting due to 2 previous errors
2019-03-30 17:06:09 -05:00
2020-03-21 10:43:12 -05:00
For more information about this error, try `rustc --explain E0224`.