fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0507]: cannot move out of static item `D` 2 --> $DIR/move-error-snippets-ext.rs:5:17 3 | 4LL | let a = $c; 5 | ^^ 6 | | 7 | move occurs because `D` has type `A`, which does not implement the `Copy` trait 8 | help: consider borrowing here: `&$c` 9 | 10 ::: $DIR/move-error-snippets.rs:21:1 11 | 12LL | sss!(); 13 | ------- in this macro invocation 14 | 15 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0507`.