Skip to content

E0432 needs to be updated to new format #35344

Description

@sophiajt

From: src/test/compile-fail/issue-32833.rs

Error E0432 needs a span_label and an updated title, updating it from:

error[E0432]: unresolved import `bar::Foo`. There is no `Foo` in `bar`
  --> src/test/compile-fail/issue-32833.rs:11:5
   |
11 | use bar::Foo; //~ ERROR There is no `Foo` in `bar` [E0432]
   |     ^^^^^^^^

error[E0432]: unresolved import `Foo`. There is no `Foo` in the crate root
  --> src/test/compile-fail/issue-32833.rs:13:9
   |
13 |     use Foo; //~ ERROR There is no `Foo` in the crate root [E0432]
   |         ^^^

To:

error[E0432]: unresolved import `bar::Foo`
  --> src/test/compile-fail/issue-32833.rs:11:5
   |
11 | use bar::Foo; //~ ERROR There is no `Foo` in `bar` [E0432]
   |     ^^^^^^^^ no `Foo` in `bar`

error[E0432]: unresolved import `Foo`
  --> src/test/compile-fail/issue-32833.rs:13:9
   |
13 |     use Foo; //~ ERROR There is no `Foo` in the crate root [E0432]
   |         ^^^ no `Foo` in crate root

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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