]> git.proxmox.com Git - rustc.git/blame - src/test/ui/borrowck/borrowck-struct-update-with-dtor.mir.stderr
New upstream version 1.30.0~beta.7+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-struct-update-with-dtor.mir.stderr
CommitLineData
b7449926
XL
1error[E0509]: cannot move out of type `S`, which implements the `Drop` trait
2 --> $DIR/borrowck-struct-update-with-dtor.rs:25:15
3 |
4LL | let _s2 = S{a: 2, ..s0};
5 | ^^^^^^^^^^^^^ cannot move out of here
6
7error[E0509]: cannot move out of type `T`, which implements the `Drop` trait
8 --> $DIR/borrowck-struct-update-with-dtor.rs:31:15
9 |
10LL | let _s2 = T{a: 2, ..s0};
11 | ^^^^^^^^^^^^^ cannot move out of here
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0509`.