Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cc0f446

Browse files
committedFeb 21, 2025
Remove panic: prefix in label from builtin macros
1 parent ec01ff0 commit cc0f446

File tree

50 files changed

+75
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+75
-65
lines changed
 

‎tests/ui/consts/required-consts/collect-in-dead-fnptr.noopt.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0080]: evaluation of `Fail::<i32>::C` failed
22
--> $DIR/collect-in-dead-fnptr.rs:9:19
33
|
44
LL | const C: () = panic!();
5-
| ^^^^^^^^ panic: explicit panic
5+
| ^^^^^^^^ explicit panic
66
|
77
= 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)
88

‎tests/ui/consts/required-consts/collect-in-dead-fnptr.opt.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0080]: evaluation of `Fail::<i32>::C` failed
22
--> $DIR/collect-in-dead-fnptr.rs:9:19
33
|
44
LL | const C: () = panic!();
5-
| ^^^^^^^^ panic: explicit panic
5+
| ^^^^^^^^ explicit panic
66
|
77
= 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)
88

There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.