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: tests/ui/borrowck/issue-81899.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ error[E0080]: evaluation of constant value failed
4
4
LL | const _CONST: &[u8] = &f(&[], |_| {});
5
5
| ^^^^^^^^^^^^^^ panic: explicit panic
6
6
|
7
-
note: the evaluated program failed inside `f::<{closure@$DIR/issue-81899.rs:4:31: 4:34}>`
7
+
note: the failure occurred inside `f::<{closure@$DIR/issue-81899.rs:4:31: 4:34}>`
8
8
--> $DIR/issue-81899.rs:11:5
9
9
|
10
10
LL | panic!()
11
-
| ^^^^^^^^ the evaluated program failed here
11
+
| ^^^^^^^^ the failure occurred here
12
12
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/borrowck/issue-88434-minimal-example.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ error[E0080]: evaluation of constant value failed
4
4
LL | const _CONST: &() = &f(&|_| {});
5
5
| ^^^^^^^^^^ panic: explicit panic
6
6
|
7
-
note: the evaluated program failed inside `f::<{closure@$DIR/issue-88434-minimal-example.rs:3:25: 3:28}>`
7
+
note: the failure occurred inside `f::<{closure@$DIR/issue-88434-minimal-example.rs:3:25: 3:28}>`
8
8
--> $DIR/issue-88434-minimal-example.rs:10:5
9
9
|
10
10
LL | panic!()
11
-
| ^^^^^^^^ the evaluated program failed here
11
+
| ^^^^^^^^ the failure occurred here
12
12
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/coherence/const-errs-dont-conflict-103369.stderr
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ error[E0080]: evaluation of constant value failed
4
4
LL | impl ConstGenericTrait<{my_fn(1)}> for () {}
5
5
| ^^^^^^^^ panic: Some error occurred
6
6
|
7
-
note: the evaluated program failed inside `my_fn`
7
+
note: the failure occurred inside `my_fn`
8
8
--> $DIR/const-errs-dont-conflict-103369.rs:10:5
9
9
|
10
10
LL | panic!("Some error occurred");
11
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program failed here
11
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here
12
12
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
13
13
14
14
error[E0080]: evaluation of constant value failed
@@ -17,11 +17,11 @@ error[E0080]: evaluation of constant value failed
17
17
LL | impl ConstGenericTrait<{my_fn(2)}> for () {}
18
18
| ^^^^^^^^ panic: Some error occurred
19
19
|
20
-
note: the evaluated program failed inside `my_fn`
20
+
note: the failure occurred inside `my_fn`
21
21
--> $DIR/const-errs-dont-conflict-103369.rs:10:5
22
22
|
23
23
LL | panic!("Some error occurred");
24
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program failed here
24
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here
25
25
= note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments