You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/dangling_pointers/dangling_primitive.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ help: ALLOC was deallocated here:
16
16
|
17
17
LL | };
18
18
| ^
19
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
19
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
20
20
21
21
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/function_calls/return_pointer_on_unwind.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ LL | dbg!(x.0);
11
11
|
12
12
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
13
13
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
14
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
14
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
15
15
16
16
Uninitialized memory occurred at ALLOC[0x0..0x4], in this allocation:
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
8
8
|
9
9
10
10
error[E0425]: cannot find function `a` in this scope
@@ -38,7 +38,7 @@ LL | dbg!(b);
38
38
| ^^^^^^^ the trait `Debug` is not implemented for fn item `fn() {b}`
39
39
|
40
40
= help: use parentheses to call this function: `b()`
41
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
41
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/mismatched_types/mismatched-types-issue-126222.stderr
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0308]: mismatched types
4
4
LL | x => dbg!(x),
5
5
| ^^^^^^^ expected `()`, found integer
6
6
|
7
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
8
8
help: you might have meant to return this value
9
9
|
10
10
LL | x => return dbg!(x),
@@ -16,7 +16,7 @@ error[E0308]: mismatched types
16
16
LL | dbg!(x)
17
17
| ^^^^^^^ expected `()`, found integer
18
18
|
19
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
19
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
20
20
help: you might have meant to return this value
21
21
|
22
22
LL | return dbg!(x)
@@ -28,7 +28,7 @@ error[E0308]: mismatched types
28
28
LL | _ => dbg!(1)
29
29
| ^^^^^^^ expected `()`, found integer
30
30
|
31
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
31
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
32
32
help: you might have meant to return this value
33
33
|
34
34
LL | _ => return dbg!(1)
@@ -40,7 +40,7 @@ error[E0308]: mismatched types
40
40
LL | _ => {dbg!(1)}
41
41
| ^^^^^^^ expected `()`, found integer
42
42
|
43
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
43
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
| ^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Dummy`
6
6
|
7
7
= note: add `#[derive(Debug)]` to `Dummy` or manually `impl Debug for Dummy`
8
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
8
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
9
9
help: consider annotating `Dummy` with `#[derive(Debug)]`
Copy file name to clipboardExpand all lines: tests/ui/rfcs/rfc-2361-dbg-macro/dbg-macro-move-semantics.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ LL | let _ = dbg!(a);
8
8
LL | let _ = dbg!(a);
9
9
| ^^^^^^^ value used here after move
10
10
|
11
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
11
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
12
12
help: consider borrowing instead of transferring ownership
| ^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `NotDebug`
6
6
|
7
7
= note: add `#[derive(Debug)]` to `NotDebug` or manually `impl Debug for NotDebug`
8
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
8
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
9
9
help: consider annotating `NotDebug` with `#[derive(Debug)]`
Copy file name to clipboardExpand all lines: tests/ui/typeck/closure-ty-mismatch-issue-128561.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ error[E0308]: mismatched types
15
15
LL | b"abc".iter().for_each(|x| dbg!(x));
16
16
| ^^^^^^^ expected `()`, found `&u8`
17
17
|
18
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
18
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/typeck/suggestions/suggest-clone-in-macro-issue-139253.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ error[E0308]: mismatched types
26
26
LL | let c: S = dbg!(field);
27
27
| ^^^^^^^^^^^ expected `S`, found `&S`
28
28
|
29
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
29
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
30
30
help: consider using clone here
31
31
|
32
32
LL | let c: S = dbg!(field).clone();
@@ -38,7 +38,7 @@ error[E0308]: mismatched types
38
38
LL | let c: S = dbg!(dbg!(field));
39
39
| ^^^^^^^^^^^^^^^^^ expected `S`, found `&S`
40
40
|
41
-
= note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
41
+
= note: this error originates in the macro `$crate::macros::dbg_internal` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments