rust/tests/ui/nll/decl-macro-illegal-copy.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
471 B
Plaintext
Raw Normal View History

2018-04-04 03:36:38 -05:00
error[E0382]: use of moved value: `wrapper.inner`
--> $DIR/decl-macro-illegal-copy.rs:21:9
2018-04-04 03:36:38 -05:00
|
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`.