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

E0262 needs to be updated to new format #35517

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

E0262 needs to be updated to new format #35517

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

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 8, 2016

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

E0262 needs a span_label, updating it from:

error[E0262]: invalid lifetime parameter name: `'static`
  --> src/test/compile-fail/E0262.rs:11:8
   |
11 | fn foo<'static>(x: &'static str) { } //~ ERROR E0262
   |        ^^^^^^^

To:

error[E0262]: invalid lifetime parameter name: `'static`
  --> src/test/compile-fail/E0262.rs:11:8
   |
11 | fn foo<'static>(x: &'static str) { } //~ ERROR E0262
   |        ^^^^^^^ `'static` is a reserved lifetime name
@creativcoder
Copy link
Contributor

I'd like to work on it.

bors added a commit that referenced this issue Aug 15, 2016
Update E0261 and E0262 to new error format

Fixes #35516 and  #35517 . Part of #35233
r? @jonathandturner
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 15, 2016
@bstrie bstrie added the A-diagnostics Area: Messages for errors, warnings, and lints label Aug 24, 2016
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

3 participants