Skip to content

E0223 needs to be updated to new format #35387

Closed
@sophiajt

Description

@sophiajt

From:

Error E0223 needs a span_label, updated title, and a note, changing it from:

error[E0223]: ambiguous associated type; specify the type using the syntax `<Type as MyTrait>::X`
  --> src/test/compile-fail/E0223.rs:14:14
   |
14 |     let foo: MyTrait::X; //~ ERROR E0223
   |              ^^^^^^^^^^

To:

error[E0223]: ambiguous associated type
  --> src/test/compile-fail/E0223.rs:14:14
   |
14 |     let foo: MyTrait::X; //~ ERROR E0223
   |              ^^^^^^^^^^ ambiguous associated type
   |
   = note: specify the type using the syntax `<Type as MyTrait>::X`

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsE-easyCall 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions