fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
445 B15 linesraw
1error[E0507]: cannot move out of static item `D`
2  --> $DIR/move-error-snippets.rs:16:18
3   |
4LL | | #[macro_use]
5   | |__________________^ move occurs because `D` has type `A`, which does not implement the `Copy` trait
6...
7LL |               aaa!(D);
8   |  __________________^
9...
10LL |   sss!();
11   |   ------- in this macro invocation
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0507`.