| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-06-16 | Auto merge of #61347 - Centril:stabilize-underscore_const_names, r=petrochenkov | bors | -2/+3 | |
| Stabilize underscore_const_names in 1.37.0 You are now permitted to write: ```rust const _: $type_expression = $term_expression; ``` That is, we change the [grammar of items](https://github.com/rust-lang-nursery/wg-grammar/blob/9d1984d7ae8d6576f943566539a31a5800644c57/grammar/item.lyg#L3-L42), as written in [the *`.lyg`* notation](https://github.com/rust-lang/gll/tree/263bf161dad903e67aa65fc591ced3cab18afa2a#grammar), from: ```java Item = attrs:OuterAttr* vis:Vis? kind:ItemKind; ItemKind = | ... | Const:{ "const" name:IDENT ":" ty:Type "=" value:Expr ";" } | ... ; ``` into: ```java Item = attrs:OuterAttr* vis:Vis? kind:ItemKind; ItemKind = | ... | Const:{ "const" name:IdentOrUnderscore ":" ty:Type "=" value:Expr ";" } | ... ; IdentOrUnderscore = | Named:IDENT | NoName:"_" ; ``` r? @petrochenkov | ||||
| 2019-06-16 | Separate librustc_data_structures module | chansuke | -915/+913 | |
| 2019-06-12 | Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkov | bors | -0/+6 | |
| Allow attributes in formal function parameters Implements https://github.com/rust-lang/rust/issues/60406. This is my first contribution to the compiler and since this is a large and complex project, I am not fully aware of the consequences of the changes I have made. **TODO** - [x] Forbid some built-in attributes. - [x] Expand cfg/cfg_attr | ||||
| 2019-06-10 | Add more functionality to BitMatrix | Tyler Mandry | -1/+93 | |
| 2019-06-10 | Stabilize underscore_const_names: stage0 -> bootstrap. | Mazdak Farrokhzad | -3/+3 | |
| 2019-06-10 | Stabilize underscore_const_names. | Mazdak Farrokhzad | -2/+3 | |
| 2019-06-09 | Allow attributes in formal function parameters | Caio | -0/+6 | |
| 2019-06-01 | rustc: use indexmap instead of a plain vector for upvars. | Eduard-Mihai Burtescu | -0/+37 | |
| 2019-05-25 | Add Step::sub_usize | Tim Vermeulen | -0/+5 | |
| 2019-05-22 | Add documentation on the reasoning | Andreas Molzer | -4/+14 | |
| Explains the thought process behind adding the union algorithm and discusses the alternative and heuristic behind. | ||||
| 2019-05-22 | Improve union of sparse and dense hybrid set | Andreas Molzer | -4/+45 | |
| This optimization speeds up the union of a hybrid bitset when that switches it from a sparse representation to a dense bitset. It now clones the dense bitset and integrate only the spare elements instead of densifying the sparse bitset, initializing all elements, and then a union on two dense bitset, touching all words a second time. | ||||
| 2019-05-22 | Provide some benchmarks for bitset hybrid union | Andreas Molzer | -0/+88 | |
| 2019-05-21 | update doc comment | Ralf Jung | -2/+1 | |
| 2019-05-21 | static_assert: make use of anonymous constants | Ralf Jung | -3/+3 | |
| 2019-05-20 | Rollup merge of #60959 - petrochenkov:sassert, r=estebank | Mazdak Farrokhzad | -0/+9 | |
| rustc: Improve type size assertions Now they - Tell what the new size is, when it changes - Do not require passing an identifier ``` ::: src\libsyntax\parse\token.rs:223:1 | 223 | static_assert_size!(Token, 123); | -------------------------------- in this macro invocation | = note: expected type `[(); 123]` found type `[(); 16]` ``` | ||||
| 2019-05-20 | Document requirements for HashStable implementations better. | Michael Woerister | -0/+24 | |
| 2019-05-19 | Improve type size assertions | Vadim Petrochenkov | -0/+9 | |
| Now they - Tell what the new size is, when it changes - Do not require passing an identifier | ||||
| 2019-05-17 | Remove unused field from StableHasher. | Michael Woerister | -20/+0 | |
| 2019-05-13 | Remove bitrig support from rust | Marcel Hellwig | -1/+0 | |
| 2019-05-04 | Delegate SmallVec's stable_hash to array's stable_hash. | Jesper Steen Møller | -3/+1 | |
| 2019-05-04 | Hash all of the import_ids for the TraitCandidate. | Jesper Steen Møller | -0/+12 | |
| 2019-04-27 | Auto merge of #60288 - Zoxc:update-rayon, r=nikomatsakis | bors | -2/+2 | |
| Update rustc-rayon version r? @nikomatsakis | ||||
| 2019-04-26 | Update rustc-rayon version | John Kåre Alsaker | -2/+2 | |
| 2019-04-26 | Use "capacity" as parameter name in with_capacity() methods | Matthias Geier | -2/+2 | |
| Closes #60271. | ||||
| 2019-04-15 | Rollup merge of #59648 - alex:must-use-result, r=alexcrichton | Mazdak Farrokhzad | -6/+6 | |
| Add must_use annotations to Result::is_ok and is_err Discussed in #59610 | ||||
| 2019-04-14 | Rollup merge of #59804 - Zoxc:cleaner-jobserver, r=alexcrichton | Mazdak Farrokhzad | -122/+8 | |
| Clean up jobserver integration cc @alexcrichton | ||||
| 2019-04-09 | Kill dead code dominator code. | Edd Barrett | -47/+0 | |
| 2019-04-09 | Clean up jobserver integration | John Kåre Alsaker | -122/+8 | |
| 2019-04-08 | Add must_use annotations to Result::is_ok and is_err | Alex Gaynor | -6/+6 | |
| 2019-03-27 | Update ena to version 0.13.0 | varkor | -1/+1 | |
| 2019-03-27 | Update ena | varkor | -1/+1 | |
| 2019-03-13 | Use derive macro for HashStable | John Kåre Alsaker | -0/+10 | |
| 2019-03-13 | Fix newtype_index | John Kåre Alsaker | -2/+6 | |
| 2019-03-10 | Make the rustc driver and interface demand driven | John Kåre Alsaker | -0/+175 | |
| 2019-03-09 | Rollup merge of #58679 - Zoxc:passes-refactor, r=michaelwoerister | Mazdak Farrokhzad | -7/+54 | |
| Refactor passes and pass execution to be more parallel For `syntex_syntax` (with 16 threads and 8 cores): - Cuts `misc checking 1` from `0.096s` to `0.08325s`. - Cuts `misc checking 2` from `0.3575s` to `0.2545s`. - Cuts `misc checking 3` from `0.34625s` to `0.21375s`. - Cuts `wf checking` from `0.3085s` to `0.05025s`. Reduces overall execution time for `syntex_syntax` (with 8 threads and cores) from `4.92s` to `4.34s`. Subsumes https://github.com/rust-lang/rust/pull/58494 Blocked on https://github.com/rust-lang/rust/pull/58250 r? @michaelwoerister | ||||
| 2019-03-08 | expand unused doc comment diagnostic | Andy Russell | -5/+25 | |
| Report the diagnostic on macro expansions, and add a label indicating why the comment is unused. | ||||
| 2019-03-06 | Add some comments | John Kåre Alsaker | -1/+7 | |
| 2019-03-06 | Execute all parallel blocks even if they panic in a single-threaded compiler | John Kåre Alsaker | -1/+41 | |
| 2019-03-06 | Run the first block in a parallel! macro directly in the scope which ↵ | John Kåre Alsaker | -5/+6 | |
| guarantees that it will run immediately | ||||
| 2019-03-02 | Bootstrap compiler update for 1.35 release | Mark Rousskov | -2/+1 | |
| 2019-03-01 | Address comments | John Kåre Alsaker | -5/+8 | |
| 2019-03-01 | Add support for using a jobserver with Rayon | John Kåre Alsaker | -2/+158 | |
| 2019-02-22 | Update parking_lot to 0.7 | Bastien Orivel | -1/+1 | |
| Unfortunately this'll dupe parking_lot until the data_structures crate is published and be updated in rls in conjunction with crossbeam-channel | ||||
| 2019-02-15 | Always emit an error for a query cycle | John Kåre Alsaker | -0/+6 | |
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -61/+61 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-11 | Use `allow_internal_unstable` in rustc itself | Oliver Scherer | -1/+2 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -61/+61 | |
| 2019-02-09 | librustc_data_structures => 2018 | Taiki Endo | -107/+86 | |
| 2019-02-07 | Rollup merge of #58185 - GuillaumeGomez:images-url, r=SimonSapin | Guillaume Gomez | -3/+1 | |
| Remove images' url to make it work even without internet connection Needed for local std docs mainly. cc @SimonSapin r? @QuietMisdreavus | ||||
| 2019-02-07 | Remove images' url to make it work even without internet connection | Guillaume Gomez | -3/+1 | |
