Skip to content

E0435 needs to be updated to new format #35801

Closed
@sophiajt

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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