rust/src/librustdoc
Falco Hirschenberger 0dc215741b Fixes missing overflow lint for i64 #14269
The `type_overflow` lint, doesn't catch the overflow for `i64` because
the overflow happens earlier in the parse phase when the `u64` as biggest
possible int gets casted to `i64` , without checking the for overflows.
We can't lint in the parse phase, so a refactoring of the `LitInt` type
was necessary.

The types `LitInt`, `LitUint` and `LitIntUnsuffixed` where merged to one
type `LitInt` which stores it's value as `u64`. An additional parameter was
added which indicate the signedness of the type and the sign of the value.
2014-08-05 09:59:03 +02:00
..
2014-07-25 07:55:25 -07:00
2014-07-29 16:44:39 +02:00
2014-07-31 23:01:24 -07:00
2014-07-17 12:08:31 +12:00
2014-08-01 19:42:52 -04:00
2014-07-31 23:01:24 -07:00