-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Description
From: src/test/compile-fail/E0080.rs
Error E0080 has been updated to the new format, but its wording is awkward. It can be updated from:
error[E0080]: constant evaluation error
--> src/test/compile-fail/E0080.rs:12:9
|
12 | X = (1 << 500), //~ ERROR E0080
| ^^^^^^^^^^ attempted to shift left with overflow
error[E0080]: constant evaluation error
--> src/test/compile-fail/E0080.rs:13:9
|
13 | Y = (1 / 0) //~ ERROR E0080
| ^^^^^^^ attempted to divide by zero
To:
error[E0080]: constant evaluation error
--> src/test/compile-fail/E0080.rs:12:9
|
12 | X = (1 << 500), //~ ERROR E0080
| ^^^^^^^^^^ attempt to shift left with overflow
error[E0080]: constant evaluation error
--> src/test/compile-fail/E0080.rs:13:9
|
13 | Y = (1 / 0) //~ ERROR E0080
| ^^^^^^^ attempt to divide by zero
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.