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/test/ui/borrowck/borrowck-and-init.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0381]: borrow of possibly-uninitialized variable: `i`
4
4
LL | println!("{}", i);
5
5
| ^ use of possibly-uninitialized `i`
6
6
|
7
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (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
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0381]: borrow of possibly-uninitialized variable: `x`
4
4
LL | println!("{}", x);
5
5
| ^ use of possibly-uninitialized `x`
6
6
|
7
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (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
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0381]: borrow of possibly-uninitialized variable: `x`
4
4
LL | println!("{}", x);
5
5
| ^ use of possibly-uninitialized `x`
6
6
|
7
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/borrowck/borrowck-or-init.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0381]: borrow of possibly-uninitialized variable: `i`
4
4
LL | println!("{}", i);
5
5
| ^ use of possibly-uninitialized `i`
6
6
|
7
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/borrowck/borrowck-while-break.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0381]: borrow of possibly-uninitialized variable: `v`
4
4
LL | println!("{}", v);
5
5
| ^ use of possibly-uninitialized `v`
6
6
|
7
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/borrowck/issue-24267-flow-exit.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ error[E0381]: borrow of possibly-uninitialized variable: `x`
4
4
LL | println!("{}", x);
5
5
| ^ use of possibly-uninitialized `x`
6
6
|
7
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
8
8
9
9
error[E0381]: borrow of possibly-uninitialized variable: `x`
10
10
--> $DIR/issue-24267-flow-exit.rs:18:20
11
11
|
12
12
LL | println!("{}", x);
13
13
| ^ use of possibly-uninitialized `x`
14
14
|
15
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
15
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: add `#![feature(const_fmt_arguments_new)]` to the crate attributes to enable
8
-
= note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info)
8
+
= note: this error originates in the macro `format` which expands to macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info)
9
9
10
10
error[E0015]: cannot call non-const fn `format` in statics
Copy file name to clipboardexpand all lines: src/test/ui/borrowck/issue-81899.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ LL | panic!()
10
10
| the evaluated program panicked at 'explicit panic', $DIR/issue-81899.rs:12:5
11
11
| inside `f::<[closure@$DIR/issue-81899.rs:4:31: 4:37]>` at $SRC_DIR/std/src/panic.rs:LL:COL
12
12
|
13
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
13
+
= note: this error originates in the macro `panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/borrowck/issue-88434-minimal-example.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ LL | panic!()
10
10
| the evaluated program panicked at 'explicit panic', $DIR/issue-88434-minimal-example.rs:11:5
11
11
| inside `f::<[closure@$DIR/issue-88434-minimal-example.rs:3:25: 3:31]>` at $SRC_DIR/std/src/panic.rs:LL:COL
12
12
|
13
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
13
+
= note: this error originates in the macro `panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/borrowck/issue-88434-removal-index-should-be-less.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ LL | panic!()
10
10
| the evaluated program panicked at 'explicit panic', $DIR/issue-88434-removal-index-should-be-less.rs:11:5
11
11
| inside `f::<[closure@$DIR/issue-88434-removal-index-should-be-less.rs:3:31: 3:37]>` at $SRC_DIR/std/src/panic.rs:LL:COL
12
12
|
13
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
13
+
= note: this error originates in the macro `panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/closures/2229_closure_analysis/diagnostics/arrays.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ LL | println!("{}", arr[3]);
82
82
LL | c();
83
83
| - mutable borrow later used here
84
84
|
85
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
85
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
86
86
87
87
error[E0502]: cannot borrow `arr` as immutable because it is also borrowed as mutable
Copy file name to clipboardexpand all lines: src/test/ui/closures/2229_closure_analysis/diagnostics/box.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ LL |
26
26
LL | c();
27
27
| - mutable borrow later used here
28
28
|
29
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
29
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
30
30
31
31
error[E0506]: cannot assign to `e.0.0.m.x` because it is borrowed
Copy file name to clipboardexpand all lines: src/test/ui/closures/2229_closure_analysis/diagnostics/repr_packed.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ LL | println!("{}", foo.x);
9
9
= note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
10
10
= note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
11
11
= help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
12
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
12
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
13
13
14
14
error: aborting due to previous error
15
15
@@ -25,5 +25,5 @@ LL | println!("{}", foo.x);
25
25
= note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
26
26
= note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
27
27
= help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
28
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
28
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/closures/2229_closure_analysis/diagnostics/simple-struct-min-capture.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ LL |
14
14
LL | c();
15
15
| - mutable borrow later used here
16
16
|
17
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
17
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/codemap_tests/bad-format-args.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error: requires at least a format string argument
4
4
LL | format!();
5
5
| ^^^^^^^^^
6
6
|
7
-
= note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `format` which expands to macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/codemap_tests/tab_3.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ note: this function takes ownership of the receiver `self`, which moves `some_ve
14
14
|
15
15
LL | fn into_iter(self) -> Self::IntoIter;
16
16
| ^^^^
17
-
= note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
17
+
= note: this error originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/consts/const-eval/conditional_array_execution.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ LL | println!("{}", FOO);
28
28
|
29
29
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
30
30
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
31
-
= note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
31
+
= note: this warning originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
32
32
33
33
error: aborting due to previous error; 2 warnings emitted
34
34
@@ -64,5 +64,5 @@ LL | #![warn(const_err)]
64
64
| ^^^^^^^^^
65
65
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
66
66
= note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
67
-
= note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
67
+
= note: this warning originates in the macro `println` which expands to macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardexpand all lines: src/test/ui/consts/const-eval/const_panic.stderr
+10-10
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,23 @@ error[E0080]: evaluation of constant value failed
4
4
LL | const Z: () = std::panic!("cheese");
5
5
| ^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'cheese', $DIR/const_panic.rs:6:15
6
6
|
7
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
7
+
= note: this error originates in the macro `std::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
8
8
9
9
error[E0080]: evaluation of constant value failed
10
10
--> $DIR/const_panic.rs:9:16
11
11
|
12
12
LL | const Z2: () = std::panic!();
13
13
| ^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:9:16
14
14
|
15
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
15
+
= note: this error originates in the macro `std::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
16
16
17
17
error[E0080]: evaluation of constant value failed
18
18
--> $DIR/const_panic.rs:12:15
19
19
|
20
20
LL | const Y: () = std::unreachable!();
21
21
| ^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:12:15
22
22
|
23
-
= note: this error originates in the macro `$crate::panic::unreachable_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
23
+
= note: this error originates in the macro `std::unreachable` which expands to macro `$crate::panic::unreachable_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
24
24
25
25
error[E0080]: evaluation of constant value failed
26
26
--> $DIR/const_panic.rs:15:15
@@ -36,39 +36,39 @@ error[E0080]: evaluation of constant value failed
36
36
LL | const W: () = std::panic!(MSG);
37
37
| ^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:18:15
38
38
|
39
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
39
+
= note: this error originates in the macro `std::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
40
40
41
41
error[E0080]: evaluation of constant value failed
42
42
--> $DIR/const_panic.rs:21:16
43
43
|
44
44
LL | const W2: () = std::panic!("{}", MSG);
45
45
| ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:21:16
46
46
|
47
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
47
+
= note: this error originates in the macro `std::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
48
48
49
49
error[E0080]: evaluation of constant value failed
50
50
--> $DIR/const_panic.rs:24:20
51
51
|
52
52
LL | const Z_CORE: () = core::panic!("cheese");
53
53
| ^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'cheese', $DIR/const_panic.rs:24:20
54
54
|
55
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
55
+
= note: this error originates in the macro `core::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
56
56
57
57
error[E0080]: evaluation of constant value failed
58
58
--> $DIR/const_panic.rs:27:21
59
59
|
60
60
LL | const Z2_CORE: () = core::panic!();
61
61
| ^^^^^^^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/const_panic.rs:27:21
62
62
|
63
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
63
+
= note: this error originates in the macro `core::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
64
64
65
65
error[E0080]: evaluation of constant value failed
66
66
--> $DIR/const_panic.rs:30:20
67
67
|
68
68
LL | const Y_CORE: () = core::unreachable!();
69
69
| ^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'internal error: entered unreachable code', $DIR/const_panic.rs:30:20
70
70
|
71
-
= note: this error originates in the macro `$crate::panic::unreachable_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
71
+
= note: this error originates in the macro `core::unreachable` which expands to macro `$crate::panic::unreachable_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
72
72
73
73
error[E0080]: evaluation of constant value failed
74
74
--> $DIR/const_panic.rs:33:20
@@ -84,15 +84,15 @@ error[E0080]: evaluation of constant value failed
84
84
LL | const W_CORE: () = core::panic!(MSG);
85
85
| ^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:36:20
86
86
|
87
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
87
+
= note: this error originates in the macro `core::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
88
88
89
89
error[E0080]: evaluation of constant value failed
90
90
--> $DIR/const_panic.rs:39:21
91
91
|
92
92
LL | const W2_CORE: () = core::panic!("{}", MSG);
93
93
| ^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hello', $DIR/const_panic.rs:39:21
94
94
|
95
-
= note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
95
+
= note: this error originates in the macro `core::panic` which expands to macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments