2019-08-24 17:25:34 +00:00
|
|
|
error[E0507]: cannot move out of static item `D`
|
|
|
|
--> $DIR/move-error-snippets.rs:16:18
|
|
|
|
|
|
|
|
|
LL | | #[macro_use]
|
|
|
|
| |__________________^ move occurs because `D` has type `A`, which does not implement the `Copy` trait
|
|
|
|
...
|
|
|
|
LL | aaa!(D);
|
|
|
|
| __________________^
|
|
|
|
...
|
|
|
|
LL | sss!();
|
|
|
|
| ------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
|
|
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-08-24 17:25:34 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0507`.
|