Skip to content

E0459 needs to be updated to new format #35933

Closed
@sophiajt

Description

@sophiajt

From: src/test/compile-fail/E0459.rs

E0459 needs a span_label, updating it from:

error[E0459]: #[link(...)] specified without `name = "foo"`
  --> src/test/compile-fail/E0459.rs:11:1
   |
11 | #[link(kind = "dylib")] extern {} //~ ERROR E0459
   | ^^^^^^^^^^^^^^^^^^^^^^^

To:

error[E0459]: #[link(...)] specified without `name = "foo"`
  --> src/test/compile-fail/E0459.rs:11:1
   |
11 | #[link(kind = "dylib")] extern {} //~ ERROR E0459
   | ^^^^^^^^^^^^^^^^^^^^^^^ missing `name` argument

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions