Skip to content

E0303 needs to be updated to new format #35790

Closed
@sophiajt

Description

@sophiajt

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

E0303 needs a span_label, updating it from:

error[E0303]: pattern bindings are not allowed after an `@`
  --> src/test/compile-fail/E0007.rs:14:26
   |
14 |         op_string @ Some(s) => {},
   |                          ^

To:

error[E0303]: pattern bindings are not allowed after an `@`
  --> src/test/compile-fail/E0007.rs:14:26
   |
14 |         op_string @ Some(s) => {},
   |                          ^ not allowed after `@`

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