File tree 1 file changed +1
-23
lines changed
src/test/ui/rfc-2361-dbg-macro
1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -9,28 +9,6 @@ LL | let _ = dbg!(a);
9
9
= note: move occurs because `a` has type `NoCopy`, which does not implement the `Copy` trait
10
10
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
11
11
12
- error[E0382]: borrow of moved value: `a`
13
- --> $DIR/dbg-macro-move-semantics.rs:11:18
14
- |
15
- LL | let _ = dbg!(a);
16
- | ------- value moved here
17
- LL | let _ = dbg!(a);
18
- | ^ value borrowed here after move
19
- |
20
- = note: move occurs because `a` has type `NoCopy`, which does not implement the `Copy` trait
21
- = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
22
-
23
- error[E0382]: use of moved value: `a`
24
- --> $DIR/dbg-macro-move-semantics.rs:11:13
25
- |
26
- LL | let _ = dbg!(a);
27
- | ------- value moved here
28
- LL | let _ = dbg!(a);
29
- | ^^^^^^^ value used here after move
30
- |
31
- = note: move occurs because `a` has type `NoCopy`, which does not implement the `Copy` trait
32
- = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
33
-
34
- error: aborting due to 3 previous errors
12
+ error: aborting due to previous error
35
13
36
14
For more information about this error, try `rustc --explain E0382`.
You can’t perform that action at this time.
0 commit comments