-
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/issue-23302.rs
Error E0265 needs a span_label, updating it from:
error[E0265]: recursive constant
--> src/test/compile-fail/issue-23302.rs:14:5
|
14 | A = X::A as isize, //~ ERROR E0265
| ^^^^^^^^^^^^^^^^^
To:
error[E0265]: recursive constant
--> src/test/compile-fail/issue-23302.rs:14:5
|
14 | A = X::A as isize, //~ ERROR E0265
| ^^^^^^^^^^^^^^^^^ recursive constant
Bonus: I'm not sure how difficult this will be, but if we can underline the part of the constant that is causing the recursion, that might be even better.
error[E0265]: recursive constant
--> src/test/compile-fail/issue-23302.rs:14:5
|
14 | A = X::A as isize, //~ ERROR E0265
| ^^^^ recursion not allowed in constant
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.