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
Reduce verbosity of errors involving builtin macros
Do not show note "this error originates in" when it is caused by one in
an explicit block list of builtin macros. Most notably, `println!` and
friends will stop doing so.
| ----- binding initialized here in some conditions
9
9
LL | println!("{}", i);
10
10
| ^ `i` used here but it is possibly-uninitialized
11
-
|
12
-
= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: src/test/ui/borrowck/borrowck-break-uninit-2.stderr
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ LL | let x: isize;
7
7
LL | println!("{}", x);
8
8
| ^ `x` used here but it isn't initialized
9
9
|
10
-
= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: src/test/ui/borrowck/borrowck-break-uninit.stderr
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ LL | let x: isize;
7
7
LL | println!("{}", x);
8
8
| ^ `x` used here but it isn't initialized
9
9
|
10
-
= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments