summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/decl-macro-illegal-copy.stderr
blob: 7948485bd6866d6c5db220769a0b2ea14530addc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0382]: use of moved value: `wrapper.inner`
  --> $DIR/decl-macro-illegal-copy.rs:21:9
   |
LL |     $wrapper.inner
   |     -------------- value moved here
...
LL |         wrapper.inner,
   |         ^^^^^^^^^^^^^ value used here after move
   |
   = note: move occurs because `wrapper.inner` has type `NonCopy`, which does not implement the `Copy` trait

error: aborting due to previous error

For more information about this error, try `rustc --explain E0382`.