| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-11-08 | add more comment | Ariel Ben-Yehuda | -14/+61 | |
| 2016-11-08 | Auto merge of #36843 - petrochenkov:dotstab, r=nikomatsakis | bors | -1/+1 | |
| Stabilize `..` in tuple (struct) patterns I'd like to nominate `..` in tuple and tuple struct patterns for stabilization. This feature is a relatively small extension to existing stable functionality and doesn't have known blockers. The feature first appeared in Rust 1.10 6 months ago. An example of use: https://github.com/rust-lang/rust/pull/36203 Closes https://github.com/rust-lang/rust/issues/33627 r? @nikomatsakis | ||||
| 2016-11-08 | Replace FnvHasher use with FxHasher. | Nicholas Nethercote | -3/+3 | |
| This speeds up compilation by 3--6% across most of rustc-benchmarks. | ||||
| 2016-11-05 | Rollup merge of #37577 - nnethercote:shrink-Expr-slightly, r=eddyb | Alex Crichton | -1/+1 | |
| Shrink `hir::Expr` slightly r? @eddyb | ||||
| 2016-11-05 | Rollup merge of #37557 - TimNN:fix-36954, r=eddyb | Alex Crichton | -7/+6 | |
| Use DefId's in const eval for cross-crate const fn's Fixes #36954. r? @eddyb cc @raphaelcohn | ||||
| 2016-11-05 | _match: correct max_slice_length logic | Ariel Ben-Yehuda | -8/+50 | |
| The logic used to be wildly wrong, but before the HAIR patch its wrongness was hidden by another bug. Fixes #37598. | ||||
| 2016-11-04 | Shrink `Expr_::ExprStruct`. | Nicholas Nethercote | -1/+1 | |
| On 64-bit platforms this reduces the size of `Expr_` from 64 bytes to 56 bytes, and reduces the size of `Expr` from 88 bytes to 80 bytes. | ||||
| 2016-11-03 | use DefId's in const eval for cross-crate const fn's | Tim Neumann | -7/+6 | |
| 2016-11-03 | Stabilize `..` in tuple (struct) patterns | Vadim Petrochenkov | -1/+1 | |
| 2016-11-02 | rustc: make all read access to tcx.tables go through a method. | Eduard Burtescu | -17/+20 | |
| 2016-10-31 | Changed most vec! invocations to use square braces | iirelu | -3/+3 | |
| Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets. | ||||
| 2016-10-28 | rustc: move mir::repr::* to mir. | Eduard Burtescu | -1/+1 | |
| 2016-10-27 | Address comments + Fix rebase | Vadim Petrochenkov | -1/+1 | |
| 2016-10-27 | Make sufficiently old or low-impact compatibility lints deny-by-default | Vadim Petrochenkov | -2/+0 | |
| 2016-10-26 | flatten nested slice patterns in HAIR construction | Ariel Ben-Yehuda | -10/+43 | |
| nested slice patterns have the same functionality as non-nested ones, so flatten them in HAIR construction. Fixes #26158. | ||||
| 2016-10-26 | handle mixed byte literal and byte array patterns | Ariel Ben-Yehuda | -50/+145 | |
| Convert byte literal pattern to byte array patterns when they are both used together. so matching them is properly handled. I could've done the conversion eagerly, but that could have caused a bad worst-case for massive byte-array matches. Fixes #18027. Fixes #25051. Fixes #26510. | ||||
| 2016-10-26 | remove StaticInliner and NaN checking | Ariel Ben-Yehuda | -231/+183 | |
| NaN checking was a lint for a deprecated feature. It can go away. | ||||
| 2016-10-26 | stop using MatchCheckCtxt to hold the param-env for check_match | Ariel Ben-Yehuda | -135/+161 | |
| 2016-10-26 | change match checking to use HAIR | Ariel Ben-Yehuda | -254/+376 | |
| no intended functional changes | ||||
| 2016-10-26 | un-break the `construct_witness` logic | Ariel Ben-Yehuda | -150/+187 | |
| Fixes #35609. | ||||
| 2016-10-26 | split the exhaustiveness-checking logic to its own module | Ariel Ben-Yehuda | -682/+726 | |
| `check_match` is now left with its grab bag of random checks. | ||||
| 2016-10-26 | refactor the `pat_is_catchall` logic | Ariel Ben-Yehuda | -20/+20 | |
| 2016-10-26 | move hair::cx::pattern to const_eval | Ariel Ben-Yehuda | -0/+380 | |
| 2016-10-26 | use a struct abstraction in check_match | Ariel Ben-Yehuda | -60/+94 | |
| 2016-10-26 | remove SliceWithSubslice, only used from old trans | Ariel Ben-Yehuda | -12/+0 | |
| 2016-10-26 | comment some ugly points in check_match | Ariel Ben-Yehuda | -15/+23 | |
| 2016-10-12 | Rollup merge of #37056 - Mark-Simulacrum:fix-bool-comparison, r=bluss | Alex Crichton | -0/+4 | |
| Add comparison operators to boolean const eval. I think it might be worth adding tests here, but since I don't know how or where to do that, I have not done so yet. Willing to do so if asked and given an explanation as to how. Fixes #37047. | ||||
| 2016-10-12 | Rollup merge of #36995 - nrc:stable, r=@nikomatsakis | Alex Crichton | -1/+1 | |
| stabilise ?, attributes on stmts, deprecate Reflect r? @nikomatsakis | ||||
| 2016-10-12 | Stabilise `?` | Nick Cameron | -1/+1 | |
| cc [`?` tracking issue](https://github.com/rust-lang/rust/issues/31436) | ||||
| 2016-10-10 | Add comparison operators to boolean const eval. | Mark-Simulacrum | -0/+4 | |
| 2016-10-09 | Update E0303 to new error format | John Firebaugh | -2/+4 | |
| 2016-10-06 | Rollup merge of #36909 - GuillaumeGomez:merge_e0002_e0004, r=arielb1 | Jonathan Turner | -7/+15 | |
| Merge E0002 into E0004 Fixes #36724. r? @jonathandturner | ||||
| 2016-10-04 | Turn some impossible definitions into ICEs | Vadim Petrochenkov | -11/+13 | |
| 2016-10-04 | Eliminate ty::VariantKind in favor of def::CtorKind | Vadim Petrochenkov | -5/+5 | |
| 2016-10-04 | Separate Def::StructCtor/Def::VariantCtor from Def::Struct/Def::Variant | Vadim Petrochenkov | -11/+11 | |
| 2016-10-02 | Merge E0002 into E0004 | Guillaume Gomez | -7/+15 | |
| 2016-09-28 | Fix rebase fallout | Jonas Schievink | -4/+4 | |
| 2016-09-28 | Call arrays "arrays" instead of "vecs" internally | Jonas Schievink | -9/+9 | |
| 2016-09-23 | Auto merge of #36335 - mcarton:compiletest, r=GuillaumeGomez | bors | -8/+8 | |
| Fix ICE test in compiletest fail-tests While working on Clippy which uses *compiletest*, I noticed that as long as all expected error are found, *compile-fail* tests will be marked *ok* even if there is an ICE. One function seems to have not been updated with JSON errors because ICEs are now reported like this: ```json {"message":"../src/librustc/ty/context.rs:161: Attempted to intern `_` which contains inference types/regions in the global type context","code":null,"level":"error: internal compiler error","spans":[],"children":[],"rendered":null} ``` I don't think I can add a test for that. I guess: r? @nikomatsakis | ||||
| 2016-09-20 | rustc_metadata: group information into less tags. | Eduard Burtescu | -9/+8 | |
| 2016-09-20 | rustc: remove ImplOrTraitItemId and TraitDef's associated_type_names. | Eduard Burtescu | -7/+5 | |
| 2016-09-20 | rustc_metadata: move more RBML tags to auto-serialization. | Eduard Burtescu | -3/+11 | |
| 2016-09-20 | rustc_metadata: remove ty{en,de}code and move to auto-derived serialization. | Eduard Burtescu | -14/+13 | |
| 2016-09-20 | rustc: remove hir::fold. | Eduard Burtescu | -50/+55 | |
| 2016-09-20 | rustc: replace uses of NodeId in Def, other than closures and labels. | Eduard Burtescu | -1/+2 | |
| 2016-09-20 | rustc_metadata: go only through rustc_serialize in astencode. | Eduard Burtescu | -2/+2 | |
| 2016-09-20 | Don't ICE when a float can't be parsed | mcarton | -8/+8 | |
| 2016-09-13 | Auto merge of #36041 - ahmedcharles:try, r=nrc | bors | -22/+19 | |
| Replace try! with ?. | ||||
| 2016-09-11 | Use question_mark feature in librustc_const_eval. | Ahmed Charles | -22/+19 | |
| 2016-09-10 | Update E0297 to new error format | John Firebaugh | -2/+5 | |
