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

error: aborting due to previous error