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

E0261 needs to be updated to new format #35516

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

E0261 needs to be updated to new format #35516

sophiajt opened this issue Aug 8, 2016 · 1 comment

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Aug 8, 2016

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

E0261 needs a span_label, updating it from:

error[E0261]: use of undeclared lifetime name `'a`
  --> src/test/compile-fail/E0261.rs:11:12
   |
11 | fn foo(x: &'a str) { } //~ ERROR E0261
   |            ^^

error[E0261]: use of undeclared lifetime name `'a`
  --> src/test/compile-fail/E0261.rs:14:9
   |
14 |     x: &'a str, //~ ERROR E0261
   |         ^^

To:

error[E0261]: use of undeclared lifetime name `'a`
  --> src/test/compile-fail/E0261.rs:11:12
   |
11 | fn foo(x: &'a str) { } //~ ERROR E0261
   |            ^^ undeclared lifetime

error[E0261]: use of undeclared lifetime name `'a`
  --> src/test/compile-fail/E0261.rs:14:9
   |
14 |     x: &'a str, //~ ERROR E0261
   |         ^^ undeclared lifetime
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants