Skip to content

E0262 needs to be updated to new format #35517

Closed

Description

@sophiajt

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

Activity

  1. creativcoder commented on Aug 9, 2016

    @creativcoder
    Contributor

    I'd like to work on it.

  2. added a commit that references this issue on Aug 15, 2016
  3. added a commit that references this issue on Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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