summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0370.stderr
blob: f85d2cf5d0b0c725e234e0298c1bc3b68c7c907e (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0370]: enum discriminant overflowed
  --> $DIR/E0370.rs:17:5
   |
LL |     Y, //~ ERROR E0370
   |     ^ overflowed on value after 9223372036854775807
   |
   = note: explicitly set `Y = -9223372036854775808` if that is desired outcome

error: aborting due to previous error

For more information about this error, try `rustc --explain E0370`.