fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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