Skip to content

E0370 needs to be updated to new format #35634

Closed

Description

@sophiajt

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

E0370 needs a span_label, an updated title, and a new note, changing it from:

error[E0370]: enum discriminant overflowed on value after 9223372036854775807i64; set explicitly via Y = -9223372036854775808i64 if that is desired outcome
  --> src/test/compile-fail/E0370.rs:17:5
   |
17 |     Y, //~ ERROR E0370
   |     ^ 

To:

error[E0370]: enum overflowed
  --> src/test/compile-fail/E0370.rs:17:5
   |
17 |     Y, //~ ERROR E0370
   |     ^ overflowed after 9223372036854775807i64
   |
   = note: explicitly set `Y = -9223372036854775808i64` if that is desired outcome

Activity

  1. added a commit that references this issue on Oct 1, 2016
    e506bfa
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