rust/src/test/ui/issue-20692.stderr

21 lines
714 B
Plaintext
Raw Normal View History

error[E0038]: the trait `Array` cannot be made into an object
--> $DIR/issue-20692.rs:17:5
|
2018-02-22 18:42:32 -06:00
LL | &Array;
| ^^^^^^ 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
| ^ the trait `Array` cannot be made into an object
|
= note: the trait cannot require that `Self : Sized`
= note: required because of the requirements on the impl of `std::ops::CoerceUnsized<&Array>` for `&T`
error: aborting due to 2 previous errors
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0038"