about summary refs log tree commit diff
path: root/tests/ui/traits/wf-object/only-maybe-bound.stderr
blob: 6ae4568c699a7b1db5da7797f4301664ee3edc04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: relaxed bounds are not permitted in trait object types
  --> $DIR/only-maybe-bound.rs:3:15
   |
LL | type _0 = dyn ?Sized;
   |               ^^^^^^

error[E0224]: at least one trait is required for an object type
  --> $DIR/only-maybe-bound.rs:3:11
   |
LL | type _0 = dyn ?Sized;
   |           ^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0224`.