]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-52086.stderr
Rollup merge of #105216 - GuillaumeGomez:rm-unused-gui-test, r=notriddle
[rust.git] / src / test / ui / nll / issue-52086.stderr
1 error[E0507]: cannot move out of an `Rc`
2   --> $DIR/issue-52086.rs:8:10
3    |
4 LL |     drop(x.field);
5    |          ^^^^^^^ move occurs because value has type `Vec<i32>`, which does not implement the `Copy` trait
6
7 error[E0507]: cannot move out of an `Arc`
8   --> $DIR/issue-52086.rs:12:10
9    |
10 LL |     drop(y.field);
11    |          ^^^^^^^ move occurs because value has type `Vec<i32>`, which does not implement the `Copy` trait
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0507`.