Vadim Petrochenkov
bf0cdb52f2
Add several lints into unused lint group
...
Remove a couple of obsolete lints
2017-10-29 22:14:23 +03:00
Eduard-Mihai Burtescu
85a4a192c7
rustc: keep track of tables everywhere as if they were per-body.
2017-01-06 22:23:29 +02:00
Shantanu Raj
e5e4cccd3b
Update wording on E0080
...
Change "attempted" to "attempt"
2016-08-04 07:31:06 +05:30
Ariel Ben-Yehuda
37c569627c
refactor constant evaluation error reporting
...
Refactor constant evaluation to use a single error reporting function
that reports a type-error-like message.
Also, unify all error codes with the "constant evaluation error" message
to just E0080, and similarly for a few other duplicate codes. The old
situation was a total mess, and now that we have *something* we can
further iterate on the UX.
2016-07-22 14:32:56 +03:00
James Miller
bcdb2602f8
Enable the overflow-related tests for MIR
2016-06-05 14:02:24 +03:00
Eduard Burtescu
473f804491
Add #[rustc_no_mir] to make tests pass with -Z orbit.
2016-03-17 22:48:07 +02:00
Oliver Schneider
7bde56e149
typestrong constant integers
2016-03-10 12:50:12 +01:00
Oliver Schneider
bac3eec67c
[breaking-change] remove negate_unsigned feature gate
2016-01-11 12:31:46 +01:00
Oliver Schneider
09d3adf52e
implement RFC 1229
...
const eval errors outside of true constant enviroments are not reported anymore, but instead forwarded to a lint.
2015-10-13 17:01:03 +02:00
Simonas Kazlauskas
0c9e3dc75c
Fix negate_unsigned feature gate check
...
This commit fixes the negate_unsigned feature gate to appropriately
account for infered variables.
This is technically a [breaking-change].
2015-07-14 21:48:43 +03:00
Alex Crichton
f86318d63c
Test fixes and rebase conflicts, round 2
...
Conflicts:
src/libcore/num/mod.rs
2015-04-02 02:07:51 +02:00
Felix S. Klock II
07ff8ab885
fixes for fallout in tests/compile-fail
2015-04-02 01:43:54 +02:00
Felix S. Klock II
41b3c86e9a
Test cases for checking arithmetic overflow during const eval.
2015-04-01 02:56:07 +02:00