fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
451 B15 linesraw
1error: `?Trait` is not permitted in trait object types
2  --> $DIR/wf-trait-object-only-maybe-bound.rs:3:15
3   |
4LL | type _0 = dyn ?Sized;
5   |               ^^^^^^
6
7error[E0224]: at least one trait is required for an object type
8  --> $DIR/wf-trait-object-only-maybe-bound.rs:3:11
9   |
10LL | type _0 = dyn ?Sized;
11   |           ^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0224`.