fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0382]: use of moved value: `b` 2 --> $DIR/issue-46099-move-in-macro.rs:14:12 3 | 4LL | let b = Box::new(true); 5 | - move occurs because `b` has type `Box<bool>`, which does not implement the `Copy` trait 6LL | test!({b}); 7 | ^ value used here after move 8 | 9help: consider cloning the value if the performance cost is acceptable 10 | 11LL | test!({b.clone()}); 12 | ++++++++ 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0382`.