]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-20692.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-20692.stderr
1 error[E0038]: the trait `Array` cannot be made into an object
2   --> $DIR/issue-20692.rs:7:5
3    |
4 LL |     &Array;
5    |     ^^^^^^ the trait `Array` cannot be made into an object
6    |
7    = note: the trait cannot require that `Self : Sized`
8
9 error[E0038]: the trait `Array` cannot be made into an object
10   --> $DIR/issue-20692.rs:4:13
11    |
12 LL |     let _ = x
13    |             ^ the trait `Array` cannot be made into an object
14    |
15    = note: the trait cannot require that `Self : Sized`
16    = note: required because of the requirements on the impl of `std::ops::CoerceUnsized<&dyn Array>` for `&T`
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0038`.