-
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/associated-item-duplicate-names-3.rs
Error E0201 needs a span_note replaced with a span_label and needs span_labels, updating this:
error[E0201]: duplicate definitions with name `Bar`:
--> src/test/compile-fail/associated-item-duplicate-names-3.rs:23:5
|
23 | type Bar = u16; //~ ERROR duplicate definitions
| ^^^^^^^^^^^^^^^
|
note: previous definition of `Bar` here
--> src/test/compile-fail/associated-item-duplicate-names-3.rs:22:5
|
22 | type Bar = i16;
| ^^^^^^^^^^^^^^^
To:
error[E0201]: duplicate definitions with name `Bar`:
--> src/test/compile-fail/associated-item-duplicate-names-3.rs:23:5
|
22 | type Bar = i16;
| --------------- first definition of `Bar`
23 | type Bar = u16; //~ ERROR duplicate definitions
| ^^^^^^^^^^^^^^^ duplicate definition
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.