| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-25 | Introduce hir::ExprKind::Use and employ in for loop desugaring. | Mazdak Farrokhzad | -0/+1 | |
| Here, ExprKind::Use(P<Expr>) tweaks the drop order to act the same way as '{ let _tmp = expr; _tmp }' does. | ||||
| 2019-04-18 | Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov | bors | -1/+1 | |
| Rename files about error codes fixes #60017 This PR will be failed in tidy. <details> <summary>The log is here:</summary> ``` tidy check tidy error: duplicate error code: 411 tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:83: __diagnostic_used!(E0411); tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:84: err.code(DiagnosticId::Error("E0411".to_owned())); tidy error: duplicate error code: 424 tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:90: debug!("smart_resolve_path_fragment: E0424, source={:?}", source); tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:92: __diagnostic_used!(E0424); tidy error: Documents\GitHub\rust\src\librustc_resolve\diagnostics.rs:93: err.code(DiagnosticId::Error("E0424".to_owned())); some tidy checks failed ``` </details> I'd like to fix this but I don't know what to do. I will work on later. Please let me know if you have any solutions. r? @petrochenkov | ||||
| 2019-04-17 | Rename modules | Yuki OKUSHI | -1/+1 | |
| 2019-04-17 | Deny `internal` in stage0 | Mateusz Mikuła | -1/+1 | |
| 2019-04-05 | Make ArenaAllocatable a marker trait to allow overlapping impls and use ↵ | John Kåre Alsaker | -0/+1 | |
| specialization to find the right field | ||||
| 2019-04-05 | Introduce an arena type which may be used to allocate a list of types with ↵ | John Kåre Alsaker | -0/+2 | |
| destructors | ||||
| 2019-04-03 | Deny internal lints in librustc | flip1995 | -0/+1 | |
| 2019-03-31 | Stabilize refcell_replace_swap feature, closes #43570 | Jean-Marie Comets | -1/+0 | |
| 2019-03-27 | Use Ranges for vars_since_snapshot | varkor | -0/+1 | |
| 2019-03-18 | Define queries using a proc macro | John Kåre Alsaker | -0/+6 | |
| 2019-03-15 | rustc: streamline the Print/fmt::Display impls in ppaux and move them to ↵ | Eduard-Mihai Burtescu | -1/+0 | |
| ty::print::pretty. | ||||
| 2019-03-15 | rustc: make util::ppaux private. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-03-15 | rustc: move the formatter into ty::print::PrintCx. | Eduard-Mihai Burtescu | -0/+1 | |
| 2019-03-10 | Replace TimeLine with SelfProfiler | Wesley Wiser | -1/+0 | |
| 2019-03-05 | Make rustc_macro a Rust 2018 crate | John Kåre Alsaker | -9/+2 | |
| 2019-03-05 | Create a derive macro for HashStable | John Kåre Alsaker | -0/+1 | |
| 2019-02-25 | librustc: deny(elided_lifetimes_in_paths) | Mazdak Farrokhzad | -2/+0 | |
| 2019-02-16 | Rollup merge of #58074 - scottmcm:stabilize-sort_by_cached_key, r=SimonSapin | kennytm | -1/+0 | |
| Stabilize slice_sort_by_cached_key I was going to ask on the tracking issue (https://github.com/rust-lang/rust/issues/34447), but decided to just send this and hope for an FCP here. The method was added last March by https://github.com/rust-lang/rust/pull/48639. Signature: https://doc.rust-lang.org/std/primitive.slice.html#method.sort_by_cached_key ```rust impl [T] { pub fn sort_by_cached_key<K, F>(&mut self, f: F) where F: FnMut(&T) -> K, K: Ord; } ``` That's an identical signature to the existing `sort_by_key`, so I think the questions are just naming, implementation, and the usual "do we want this?". The implementation seems to have proven its use in rustc at least, which many uses: https://github.com/rust-lang/rust/search?l=Rust&q=sort_by_cached_key (I'm asking because it's exactly what I just needed the other day: ```rust all_positions.sort_by_cached_key(|&n| data::CITIES.iter() .map(|x| *metric_closure.get_edge(n, x.pos).unwrap()) .sum::<usize>() ); ``` since caching that key is a pretty obviously good idea.) Closes #34447 | ||||
| 2019-02-12 | Stabilize slice_sort_by_cached_key | Scott McMurray | -1/+0 | |
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -2/+0 | |
| 2019-02-07 | Remove images' url to make it work even without internet connection | Guillaume Gomez | -3/+1 | |
| 2019-02-05 | move librustc to 2018 | Mark Mansi | -25/+13 | |
| 2019-01-28 | Use multiple threads by default. Limits tests to one thread. Do some renaming. | John Kåre Alsaker | -0/+1 | |
| 2019-01-24 | Remove quote_*! macros and associated APIs | Mark Simulacrum | -1/+0 | |
| 2019-01-13 | stabilize transpose_result in 1.33 | Mazdak Farrokhzad | -1/+0 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-17 | Tweak query code for performance | John Kåre Alsaker | -0/+2 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-11-29 | Rollup merge of #56257 - mark-i-m:rustc-guide-links, r=nikomatsakis | Guillaume Gomez | -1/+1 | |
| rustc-guide has moved to rust-lang/ r? @nikomatsakis | ||||
| 2018-11-27 | remove uses of feature gate | Mark Mansi | -1/+0 | |
| 2018-11-26 | rustc-guide has moved | Mark Mansi | -1/+1 | |
| 2018-10-31 | Bump nightly to 1.32.0 | Alex Crichton | -2/+0 | |
| * Also update the bootstrap compiler * Update cargo to 1.32.0 * Clean out stage0 annotations | ||||
| 2018-10-19 | Stabilize impl_header_lifetime_elision in 2015 | Scott McMurray | -1/+1 | |
| It's already stable in 2018; this finishes the stabilization. | ||||
| 2018-10-14 | create only one vector when winnowing candidates | ljedrz | -0/+1 | |
| 2018-10-05 | Stabilize `min_const_fn` | Oliver Schneider | -1/+1 | |
| 2018-09-29 | don't elide lifetimes in paths in librustc/ | Zack M. Davis | -0/+2 | |
| This seemed like a good way to kick the tires on the elided-lifetimes-in-paths lint (#52069)—seems to work! This was also pretty tedious—it sure would be nice if `cargo fix` worked on this codebase (#53896)! | ||||
| 2018-09-27 | Bump to 1.31.0 and bootstrap from 1.30 beta | Josh Stone | -7/+3 | |
| 2018-09-22 | Stabilize crate_in_paths, extern_absolute_paths and extern_prelude on all ↵ | Eduard-Mihai Burtescu | -1/+1 | |
| editions. | ||||
| 2018-09-14 | Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddyb | bors | -0/+2 | |
| Add forever unstable attribute to allow specifying arbitrary scalar ranges r? @eddyb for the first commit and @nikomatsakis for the second one | ||||
| 2018-09-11 | stabalize infer outlives requirements (RFC 2093). | toidiu | -1/+0 | |
| Co-authored-by: nikomatsakis | ||||
| 2018-09-11 | Forbid the upper indices of `IndexVec` indices to allow for niche optimizations | Oliver Schneider | -0/+2 | |
| 2018-08-31 | Restrict most uses of `const_fn` to `min_const_fn` | Oliver Schneider | -1/+2 | |
| 2018-08-27 | Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis | bors | -0/+1 | |
| fix for late-bound regions Fix for https://github.com/rust-lang/rust/issues/53419 r? @nikomatsakis | ||||
| 2018-08-25 | Auto merge of #53385 - matklad:stabilize-find-map, r=KodrAus | bors | -1/+0 | |
| Stablize Iterator::find_map Stabilization PR for https://github.com/rust-lang/rust/issues/49602 | ||||
| 2018-08-24 | check that adding infer-outlives requirement to all crates works | Niko Matsakis | -0/+1 | |
| 2018-08-23 | Auto merge of #53384 - gootorov:use-servo-smallvec, r=michaelwoerister | bors | -0/+3 | |
| Use optimized SmallVec implementation This PR replaces current SmallVec implementation with the one from the Servo project. Closes https://github.com/rust-lang/rust/issues/51640 r? @Mark-Simulacrum | ||||
| 2018-08-23 | Auto merge of #52602 - scottmcm:tryblock-expr, r=nikomatsakis | bors | -1/+0 | |
| Implement try block expressions I noticed that `try` wasn't a keyword yet in Rust 2018, so... ~~Fixes https://github.com/rust-lang/rust/issues/52604~~ That was fixed by PR https://github.com/rust-lang/rust/pull/53135 cc https://github.com/rust-lang/rust/issues/31436 https://github.com/rust-lang/rust/issues/50412 | ||||
| 2018-08-23 | Use optimized SmallVec implementation | Igor Gutorov | -0/+3 | |
| 2018-08-19 | Rename `catch_expr` feature to `try_blocks` | Scott McMurray | -1/+0 | |
| 2018-08-19 | Stabilize macro_vis_matcher | Jakub Kozlowski | -1/+1 | |
