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/consts/const-eval/unused-broken-const-late.stderr
+6
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@ LL | const VOID: () = panic!();
6
6
|
7
7
= 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)
8
8
9
+
note: erroneous constant encountered
10
+
--> $DIR/unused-broken-const-late.rs:15:17
11
+
|
12
+
LL | let _ = PrintName::<T>::VOID;
13
+
| ^^^^^^^^^^^^^^^^^^^^
14
+
9
15
error: aborting due to 1 previous error
10
16
11
17
For more information about this error, try `rustc --explain E0080`.
Copy file name to clipboardexpand all lines: tests/ui/inline-const/required-const.stderr
+6
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@ LL | const { panic!() }
6
6
|
7
7
= 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)
8
8
9
+
note: erroneous constant encountered
10
+
--> $DIR/required-const.rs:7:9
11
+
|
12
+
LL | const { panic!() }
13
+
| ^^^^^^^^^^^^^^^^^^
14
+
9
15
error: aborting due to 1 previous error
10
16
11
17
For more information about this error, try `rustc --explain E0080`.
0 commit comments