]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-19538.stderr
New upstream version 1.30.0~beta.7+dfsg1
[rustc.git] / src / test / ui / issues / issue-19538.stderr
1 error[E0038]: the trait `Bar` cannot be made into an object
2 --> $DIR/issue-19538.rs:27:15
3 |
4 LL | let test: &mut Bar = &mut thing;
5 | ^^^^^^^^ the trait `Bar` cannot be made into an object
6 |
7 = note: method `foo` has generic type parameters
8
9 error[E0038]: the trait `Bar` cannot be made into an object
10 --> $DIR/issue-19538.rs:27:26
11 |
12 LL | let test: &mut Bar = &mut thing;
13 | ^^^^^^^^^^ the trait `Bar` cannot be made into an object
14 |
15 = note: method `foo` has generic type parameters
16 = note: required because of the requirements on the impl of `std::ops::CoerceUnsized<&mut dyn Bar>` for `&mut Thing`
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0038`.