2024-02-23 16:39:57 +03:00
|
|
|
error[E0658]: `?Trait` is not permitted in trait object types
|
2021-02-08 23:15:45 +01:00
|
|
|
--> $DIR/only-maybe-bound.rs:3:15
|
2019-05-19 22:26:42 +01:00
|
|
|
|
|
|
|
|
|
LL | type _0 = dyn ?Sized;
|
|
|
|
|
| ^^^^^^
|
2024-02-23 16:39:57 +03:00
|
|
|
|
|
|
|
|
|
= help: add `#![feature(more_maybe_bounds)]` to the crate attributes to enable
|
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2019-05-19 22:26:42 +01:00
|
|
|
|
2019-06-21 22:12:07 +08:00
|
|
|
error[E0224]: at least one trait is required for an object type
|
2021-02-08 23:15:45 +01:00
|
|
|
--> $DIR/only-maybe-bound.rs:3:11
|
2019-03-30 22:06:09 +00:00
|
|
|
|
|
|
|
|
|
LL | type _0 = dyn ?Sized;
|
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2019-05-19 22:26:42 +01:00
|
|
|
error: aborting due to 2 previous errors
|
2019-03-30 22:06:09 +00:00
|
|
|
|
2024-02-23 16:39:57 +03:00
|
|
|
Some errors have detailed explanations: E0224, E0658.
|
|
|
|
|
For more information about an error, try `rustc --explain E0224`.
|