error[E0038]: the trait `Array` cannot be made into an object
--> $DIR/issue-20692.rs:7:5
|
+LL | trait Array: Sized {}
+ | ----- the trait cannot require that `Self : Sized`
+...
LL | &dyn Array;
| ^^^^^^^^^^ the trait `Array` cannot be made into an object
|
error[E0038]: the trait `Array` cannot be made into an object
--> $DIR/issue-20692.rs:4:13
|
+LL | trait Array: Sized {}
+ | ----- the trait cannot require that `Self : Sized`
+...
LL | let _ = x
| ^ the trait `Array` cannot be made into an object
|