]> git.lizzy.rs Git - rust.git/blob - src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr
Rollup merge of #59025 - aoikonomopoulos:issue-57924, r=varkor
[rust.git] / src / test / ui / functional-struct-update / functional-struct-update-noncopyable.stderr
1 error[E0509]: cannot move out of type `A`, which implements the `Drop` trait
2   --> $DIR/functional-struct-update-noncopyable.rs:12:36
3    |
4 LL |     let _b = A { y: Arc::new(3), ..a };
5    |                                    ^ cannot move out of here
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0509`.