| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-06-29 | Rollup merge of #34497 - oli-obk:double_negation, r=eddyb | Manish Goregaokar | -48/+41 | |
| Revert "skip double negation in const eval" This reverts commit 735c018974e5570ea13fd887aa70a011a5b8e7b8. fixes #34395 The original commit was based on a mis-understanding of the overflowing literal lint. This needs to be ported to beta. r? @eddyb | ||||
| 2016-06-27 | Revert "skip double negation in const eval" | Oliver Schneider | -48/+41 | |
| This reverts commit 735c018974e5570ea13fd887aa70a011a5b8e7b8. | ||||
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -2/+2 | |
| 2016-06-21 | don't warn on casting byte strs to slices | Oliver Schneider | -0/+1 | |
| 2016-06-10 | Auto merge of #34174 - shepmaster:16-bit-mir, r=Aatch | bors | -20/+5 | |
| Support 16-bit pointers in MIR | ||||
| 2016-06-10 | Allow truncating constants to 16-bit u/isize | Jake Goulding | -20/+5 | |
| 2016-06-10 | Introduce TyCtxt::expect_def/expect_resolution helpers and use them where ↵ | Vadim Petrochenkov | -25/+14 | |
| possible | ||||
| 2016-06-05 | rustc_const_eval: work around double rounding. | Eduard Burtescu | -38/+71 | |
| 2016-06-05 | rustc_const_eval: track the length and index in IndexOutOfBounds. | Eduard Burtescu | -5/+14 | |
| 2016-06-05 | rustc_const_eval: strings are not indexable in Rust 1.x. | Eduard Burtescu | -3/+0 | |
| 2016-06-05 | rustc_const_eval: remove unused arithmetic ErrKind variants. | Eduard Burtescu | -12/+0 | |
| 2016-06-03 | Auto merge of #33460 - shepmaster:16-bit-pointers, r=Aatch | bors | -0/+3 | |
| Support 16-bit pointers as well as i/usize I'm opening this pull request to get some feedback from the community. Although Rust doesn't support any platforms with a native 16-bit pointer at the moment, the [AVR-Rust][ar] fork is working towards that goal. Keeping this forked logic up-to-date with the changes in master has been onerous so I'd like to merge these changes so that they get carried along when refactoring happens. I do not believe this should increase the maintenance burden. This is based on the original work of Dylan McKay (@dylanmckay). [ar]: https://github.com/avr-rust/rust | ||||
| 2016-05-26 | Implement `..` in tuple (struct) patterns | Vadim Petrochenkov | -5/+4 | |
| 2016-05-19 | Support 16-bit pointers as well as i/usize | Jake Goulding | -0/+3 | |
| This is based on the original work of Dylan McKay for the [avr-rust project][ar]. [ar]: https://github.com/avr-rust/rust | ||||
| 2016-05-11 | rustc: Split local type contexts interners from the global one. | Eduard Burtescu | -2/+1 | |
| 2016-05-11 | rustc: More interning for data used in Ty<'tcx>. | Eduard Burtescu | -3/+3 | |
| 2016-05-11 | rustc: Wrap users of InferCtxt in an anonymous scope. | Eduard Burtescu | -38/+37 | |
| 2016-05-11 | rustc: Split 'tcx into 'gcx and 'tcx for InferCtxt and its users. | Eduard Burtescu | -17/+23 | |
| 2016-05-11 | rustc: Replace &'a TyCtxt<'tcx> with a TyCtxt<'a, 'tcx> wrapper. | Eduard Burtescu | -32/+31 | |
| 2016-05-11 | rustc: Avoid free functions taking &TyCtxt and &InferCtxt. | Eduard Burtescu | -7/+6 | |
| 2016-05-11 | infer: Use methods for creating an InferCtxt. | Eduard Burtescu | -2/+3 | |
| 2016-05-09 | Auto merge of #33457 - oli-obk:const_err/cast_u8_ptr, r=eddyb | bors | -0/+6 | |
| casting `&[u8]` to `* const u8` doesn't work in const_eval fixes #33452 r? @eddyb cc @Ms2ger | ||||
| 2016-05-08 | Auto merge of #33091 - sanxiyn:unused-trait-import-3, r=nrc | bors | -1/+1 | |
| Warn unused trait imports, rebased Rebase of #30021. Fix #25730. | ||||
| 2016-05-08 | casting `b"text"` to `* const u8` doesn't work in const_eval | Oliver 'ker' Schneider | -0/+6 | |
| 2016-05-03 | Rollup merge of #33339 - oli-obk:fix/const_eval, r=japaric | Manish Goregaokar | -48/+37 | |
| fix various const eval errors These were found after const_evaluating arbitrary expressions and linting if the const evaluator failed fixes #33275 (int -> float casts for negative ints) fixes #33291 (int -> char casts (new! wasn't allowed in constants until this PR)) r? @eddyb cc @bluss @japaric | ||||
| 2016-05-03 | Remove unused trait imports flagged by lint | Seo Sanghyeon | -1/+1 | |
| 2016-05-02 | refactor infer function | Oliver Schneider | -20/+20 | |
| There was no span available in the cast function, but we need to infer the `x` in `x as char` to `u8`. The spans are now removed from all functions using `infer` and instead added in `eval_const_expr_partial` | ||||
| 2016-05-02 | `* as char` assumes `*` to be of type `u8` | Oliver Schneider | -6/+11 | |
| 2016-05-02 | check for wrong const_err warnings | Oliver Schneider | -14/+12 | |
| 2016-05-02 | remove unused constant error variants | Oliver Schneider | -14/+0 | |
| 2016-04-30 | Fix patterns of the constants that are const meth | Simonas Kazlauskas | -1/+1 | |
| See the regression test for the sample code this fixes | ||||
| 2016-04-26 | skip double negation in const eval | Oliver Schneider | -38/+45 | |
| 2016-04-11 | don't report errors in constants at every use site | Oliver Schneider | -4/+20 | |
| 2016-04-06 | rustc: move middle::{def,def_id,pat_util} to hir. | Eduard Burtescu | -3/+3 | |
| 2016-04-06 | rustc: move rustc_front to rustc::hir. | Eduard Burtescu | -5/+5 | |
| 2016-04-03 | check constants even if they are unused in the current crate | Oliver Schneider | -6/+17 | |
| 2016-03-31 | librustc_const_eval: use bug!(), span_bug!() | Benjamin Herr | -13/+13 | |
| 2016-03-30 | move `const_eval` and `check_match` out of `librustc` | Oliver Schneider | -0/+1226 | |
