Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E0445 needs to be updated to new format #35922

Closed
sophiajt opened this issue Aug 23, 2016 · 0 comments
Closed

E0445 needs to be updated to new format #35922

sophiajt opened this issue Aug 23, 2016 · 0 comments
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 23, 2016

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
0xmohit added a commit to 0xmohit/rust that referenced this issue Aug 24, 2016
@bstrie bstrie added the A-diagnostics Area: Messages for errors, warnings, and lints label Aug 24, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 24, 2016
… r=GuillaumeGomez

Update E0445 and E0454 to new error format

Fixes rust-lang#35922.
Fixes rust-lang#35930.
Part of rust-lang#35233.

r? @GuillaumeGomez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

2 participants