| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-10 | Rollup merge of #69514 - GuillaumeGomez:remove-spotlight, r=kinnison | Mazdak Farrokhzad | -5/+0 | |
| Remove spotlight I had a few comments saying that this feature was at best misunderstood or not even used so I decided to organize a poll about on [twitter](https://twitter.com/imperioworld_/status/1232769353503956994). After 87 votes, the result is very clear: it's not useful. Considering the amount of code we have just to run it, I think it's definitely worth it to remove it. r? @kinnison cc @ollie27 | ||||
| 2020-03-06 | fix various typos | Matthias Krüger | -1/+1 | |
| 2020-03-05 | Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPC | Dylan DPC | -1/+1 | |
| even more clippy cleanups * Don't pass &mut where immutable reference (&) is sufficient (clippy::unnecessary_mut_passed) * Use more efficient &&str to String conversion (clippy::inefficient_to_string) * Don't always eval arguments inside .expect(), use unwrap_or_else and closure. (clippy::expect_fun_call) * Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg) * Use simple 'for i in x' loops instead of 'while let Some(i) = x.next()' loops on iterators. (clippy::while_let_on_iterator) * Const items have by default a static lifetime, there's no need to annotate it. (clippy::redundant_static_lifetimes) * Remove redundant patterns when matching ( x @ _ to x) (clippy::redundant_pattern) | ||||
| 2020-03-05 | Const items have by default a static lifetime, there's no need to annotate ↵ | Matthias Krüger | -1/+1 | |
| it. (clippy::redundant_static_lifetimes) | ||||
| 2020-03-04 | Use .map() to modify data inside Options instead of using .and_then(|x| ↵ | Matthias Krüger | -3/+1 | |
| Some(y)) (clippy::option_and_then_some) | ||||
| 2020-03-01 | Auto merge of #69592 - petrochenkov:nosyntax, r=Centril | bors | -11/+11 | |
| Rename `libsyntax` to `librustc_ast` This was the last rustc crate that wasn't following the `rustc_*` naming convention. Follow-up to https://github.com/rust-lang/rust/pull/67763. | ||||
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -10/+10 | |
| 2020-02-29 | Rollup merge of #69572 - matthiaskrgr:try_err_and_iter_on_ref, r=Centril | Dylan DPC | -3/+3 | |
| use .iter() instead of .into_iter() on references | ||||
| 2020-02-29 | Make it build again | Vadim Petrochenkov | -1/+1 | |
| 2020-02-29 | use .iter() instead of .into_iter() on references. | Matthias Krüger | -3/+3 | |
| 2020-02-28 | use is_empty() instead of len() == x to determine if structs are empty. | Matthias Krüger | -3/+3 | |
| 2020-02-27 | Remove "important traits" feature | Guillaume Gomez | -5/+0 | |
| 2020-02-27 | use find(x) instead of filter(x).next() | Matthias Krüger | -2/+1 | |
| 2020-02-22 | Rename CodeMap to SourceMap follow up | Maxim Zholobak | -7/+7 | |
| 2020-02-19 | Make lookup of associated item by name O(log n) | Dylan MacKenzie | -4/+5 | |
| 2020-02-18 | Rollup merge of #69181 - skinny121:const-eval-return, r=oli-obk | Dylan DPC | -9/+14 | |
| Change const eval to just return the value As discussed in https://github.com/rust-lang/rust/pull/68505#discussion_r370956535, the type of consts shouldn't be returned from const eval queries. r? @eddyb cc @nikomatsakis | ||||
| 2020-02-17 | Rename `FunctionRetTy` to `FnRetTy` | Yuki Okushi | -12/+12 | |
| 2020-02-16 | Other crates. | Camille GILLOT | -4/+4 | |
| 2020-02-16 | Code review changes. | Ben Lewis | -7/+5 | |
| 2020-02-15 | Change const eval to return `ConstValue`, instead of `Const` as the type ↵ | Ben Lewis | -9/+16 | |
| inside it shouldn't be used. | ||||
| 2020-02-11 | Review comments. | Camille GILLOT | -1/+1 | |
| 2020-02-11 | Move lang_items definitions to librustc_lang_items. | Camille GILLOT | -1/+1 | |
| 2020-02-08 | Make `provided_trait_methods` use `impl Iterator` | Jonas Schievink | -9/+2 | |
| 2020-02-08 | Make `associated_items` query return a slice | Jonas Schievink | -1/+4 | |
| 2020-02-06 | index ReEmpty by universe | Niko Matsakis | -3/+3 | |
| We now make `'empty` indexed by a universe index, resulting in a region lattice like this: ``` static ----------+-----...------+ (greatest) | | | early-bound and | | free regions | | | | | scope regions | | | | | empty(root) placeholder(U1) | | / | | / placeholder(Un) empty(U1) -- / | / ... / | / empty(Un) -------- (smallest) ``` Therefore, `exists<A> { forall<B> { B: A } }` is now unprovable, because A must be at least Empty(U1) and B is placeholder(U2), and hence the two regions are unrelated. | ||||
| 2020-02-04 | remove redundant imports (clippy::single_component_path_imports) | Matthias Krüger | -1/+0 | |
| 2020-02-01 | 1. move node_id to syntax | Mazdak Farrokhzad | -1/+1 | |
| 2. invert rustc_session & syntax deps 3. drop rustc_session dep in rustc_hir | ||||
| 2020-02-01 | Move builtin attribute logic to new rustc_attr crate. | Mazdak Farrokhzad | -1/+1 | |
| For now, this is all the crate contains, but more attribute logic & types will be moved there over time. | ||||
| 2020-01-29 | Rollup merge of #68556 - ollie27:rustdoc_primitive_re-export, r=GuillaumeGomez | Yuki Okushi | -12/+47 | |
| rustdoc: Fix re-exporting primitive types * Generate links to the primitive type docs for re-exports. * Don't ICE on cross crate primitive type re-exports. * Make primitive type re-exports show up cross crate. Fixes #67646 Closes #67972 r? @GuillaumeGomez | ||||
| 2020-01-27 | don't clone types that are copy, round two. | Matthias Krüger | -5/+5 | |
| 2020-01-26 | rustdoc: Fix re-exporting primitive types | Oliver Middleton | -12/+47 | |
| * Generate links to the primitive type docs for re-exports. * Don't ICE on cross crate primitive type re-exports. * Make primitive type re-exports show up cross crate. | ||||
| 2020-01-20 | Add `ConstnessAnd` that implements `ToPredicate` | Dylan MacKenzie | -2/+2 | |
| 2020-01-20 | Add `constness` field to `ty::Predicate::Trait` | Dylan MacKenzie | -3/+3 | |
| 2020-01-17 | Rollup merge of #68204 - ecstatic-morse:item-kind-impl, r=oli-obk | Tyler Mandry | -4/+4 | |
| Use named fields for `{ast,hir}::ItemKind::Impl` Currently, the widely used `ItemKind::Impl` variant is a tuple with seven fields. I want to add an eighth in #68140, which means I have to update most matches on this variant anyways. Giving a name to each field improves readability and makes future changes of this nature much simpler. This change will cause several tools to break. I will fix them once this is merged. | ||||
| 2020-01-17 | Rollup merge of #68093 - GuillaumeGomez:fix-deref-impl-typedef, r=oli-obk | Tyler Mandry | -11/+48 | |
| Fix deref impl typedef Fixes #35295. r? @kinnison | ||||
| 2020-01-17 | Use named fields for `hir::ItemKind::Impl` | Dylan MacKenzie | -4/+4 | |
| 2020-01-17 | formatting | Guillaume Gomez | -21/+19 | |
| 2020-01-16 | don't clone types that are copy | Matthias Krüger | -1/+1 | |
| found via clippy | ||||
| 2020-01-16 | Improve code readability | Guillaume Gomez | -26/+10 | |
| 2020-01-15 | Simplify deref impls for type aliases | Guillaume Gomez | -2/+29 | |
| 2020-01-15 | formatting | Guillaume Gomez | -21/+5 | |
| 2020-01-15 | Fix deref impl on type alias | Guillaume Gomez | -3/+47 | |
| 2020-01-13 | Remove unneeded scope | Yuki Okushi | -32/+26 | |
| 2020-01-11 | Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obk | bors | -2/+6 | |
| Promote references to constants instead of statics r? @oli-obk | ||||
| 2020-01-10 | Fix print const on librustdoc | Santiago Pastorino | -1/+1 | |
| 2020-01-10 | Promote `Ref`s to constants instead of static | Santiago Pastorino | -2/+6 | |
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-09 | Rollup merge of #67955 - ollie27:rustdoc_cfg_dupes, r=GuillaumeGomez | Yuki Okushi | -16/+90 | |
| rustdoc: Remove more `#[doc(cfg(..))]` duplicates This is a follow up to #66959. r? @GuillaumeGomez | ||||
| 2020-01-08 | Move `is_min_const_fn` query to librustc_mir. | Camille GILLOT | -3/+5 | |
| The only two uses of the associated methods are in librustc_mir and librustdoc. Please tell me if there is a better choice. | ||||
| 2020-01-06 | rustdoc: Remove more `#[doc(cfg(..))]` duplicates | Oliver Middleton | -16/+90 | |
