Skip to content

Commit 924a693

Browse files
committed
debug_macro: --bless tests.
1 parent 1d2a1bf commit 924a693

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

src/test/ui/rfc-2361-dbg-macro/dbg-macro-move-semantics.nll.stderr

+1-23
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,6 @@ LL | let _ = dbg!(a);
99
= note: move occurs because `a` has type `NoCopy`, which does not implement the `Copy` trait
1010
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
1111

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
3513

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

0 commit comments

Comments
 (0)