Skip to content

E0445 needs to be updated to new format #35922

Closed
@sophiajt

Description

@sophiajt

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

E0445 needs a span_label, updating it from:

error[E0445]: private trait in public interface
  --> src/test/compile-fail/E0445.rs:15:17
   |
15 | pub trait Bar : Foo {} //~ ERROR E0445
   |                 ^^^

To:

error[E0445]: private trait in public interface
  --> src/test/compile-fail/E0445.rs:15:17
   |
15 | pub trait Bar : Foo {} //~ ERROR E0445
   |                 ^^^ private trait can't be public

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions