blob: 1316773f6b789d3e088279779c94f1b9ac92c7f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
error[E0038]: the trait `Array` cannot be made into an object
--> $DIR/issue-20692.rs:17:5
|
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
|
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
For more information about this error, try `rustc --explain E0038`.
|