2017-12-10 13:47:55 -06:00
|
|
|
error[E0038]: the trait `Array` cannot be made into an object
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-20692.rs:17:5
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | &Array;
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^ the trait `Array` cannot be made into an object
|
|
|
|
|
|
|
|
|
= note: the trait cannot require that `Self : Sized`
|
|
|
|
|
|
|
|
error[E0038]: the trait `Array` cannot be made into an object
|
|
|
|
--> $DIR/issue-20692.rs:14:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _ = x
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^ the trait `Array` cannot be made into an object
|
|
|
|
|
|
|
|
|
= note: the trait cannot require that `Self : Sized`
|
2018-05-26 22:51:50 -05:00
|
|
|
= note: required because of the requirements on the impl of `std::ops::CoerceUnsized<&dyn Array>` for `&T`
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0038`.
|