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

E0435 needs to be updated to new format #35801

Closed
sophiajt opened this issue Aug 18, 2016 · 1 comment
Closed

E0435 needs to be updated to new format #35801

sophiajt opened this issue Aug 18, 2016 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@sophiajt
Copy link
Contributor

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

E0435 needs a span_label, updating it from:

error[E0435]: attempt to use a non-constant value in a constant
  --> src/test/compile-fail/E0435.rs:13:23
   |
13 |     const FOO : u32 = foo; //~ ERROR E0435
   |                       ^^^

To:

error[E0435]: attempt to use a non-constant value in a constant
  --> src/test/compile-fail/E0435.rs:13:23
   |
13 |     const FOO : u32 = foo; //~ ERROR E0435
   |                       ^^^ non-constant used with constant
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 22, 2016
…omez

E0435, E0437 & E0438 New Error Format

Part of rust-lang#35801 , rust-lang#35802 and rust-lang#35803
r? @GuillaumeGomez

Hi! Please review the changes.
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 22, 2016
…omez

E0435, E0437 & E0438 New Error Format

Part of rust-lang#35801 , rust-lang#35802 and rust-lang#35803
r? @GuillaumeGomez

Hi! Please review the changes.
@bstrie bstrie added the A-diagnostics Area: Messages for errors, warnings, and lints label Aug 24, 2016
@bstrie
Copy link
Contributor

bstrie commented Sep 25, 2016

Closed by #35858.

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