| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-30 | rustdoc: remove calls to `local_def_id_from_node_id` | marmeladema | -9/+5 | |
| 2020-05-22 | Remove ReScope | Matthew Jasper | -1/+0 | |
| 2020-05-20 | introduce newtype'd `Predicate<'tcx>` | Bastian Kauschke | -7/+7 | |
| 2020-05-20 | make `to_predicate` take a `tcx` argument | Niko Matsakis | -1/+1 | |
| 2020-05-20 | rename `Predicate` to `PredicateKind`, introduce alias | Bastian Kauschke | -19/+17 | |
| 2020-05-17 | Assume unevaluated consts are equal to the other consts and add ConstEquate ↵ | Ben Lewis | -1/+2 | |
| obligation. This delays the need to evaluate consts eagerly and therefore gets around const eval query cycles. | ||||
| 2020-05-16 | Rollup merge of #71724 - GuillaumeGomez:doc-alias-improvements, r=ollie27 | Dylan DPC | -0/+9 | |
| Doc alias improvements After [this message](https://github.com/rust-lang/rust/issues/50146#issuecomment-496601755), I realized that the **doc alias**. So this PR does the followings: * Align the alias discovery on items added into the search-index. It brings a few nice advantages: * Instead of cloning the data between the two (in rustdoc source code), we now have the search-index one and aliases which reference to the first one. So we go from one big map containing a lot of duplicated data to just integers... * In the front-end (main.js), I improved the code around aliases to allow them to go through the same transformation as other items when we show the search results. * Improve the search tester in order to perform multiple requests into one file (I think it's better in this case than having a file for each case considering how many there are...) * I also had to add the new function inside the tester (`handleAliases`) Once this PR is merged, I intend to finally stabilize this feature. r? @ollie27 cc @rust-lang/rustdoc | ||||
| 2020-05-14 | Move doc alias discovery into the Attributes struct and some code improvements | Guillaume Gomez | -0/+9 | |
| 2020-05-12 | Remove ty::UnnormalizedProjection | Jack Huey | -1/+0 | |
| 2020-05-08 | Fix tests | Camille GILLOT | -1/+1 | |
| 2020-05-08 | Remove ast::{Ident, Name} reexports. | Camille GILLOT | -8/+9 | |
| 2020-04-26 | Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddyb | Dylan DPC | -14/+8 | |
| Add all remaining `DefKind`s. r? @eddyb or @Centril ~~I'm not sure if this is what you were thinking of. There are also a few places where I'm not sure what the correct choice is because I don't fully understand the meaning of some variants.~~ ~~In general, it feels a bit odd to add some of these as `DefKind`s (e.g. `Arm`) because they don't feel like definitions. Are there things that it makes sense not to add?~~ | ||||
| 2020-04-24 | Avoid unused Option::map results | Josh Stone | -5/+6 | |
| These are changes that would be needed if we add `#[must_use]` to `Option::map`, per #71484. | ||||
| 2020-04-24 | Remove `Option` from the return type of `def_kind`. | Eduard-Mihai Burtescu | -14/+8 | |
| 2020-04-23 | Address comments from review | marmeladema | -12/+11 | |
| 2020-04-23 | Modify `as_local_hir_id` to return a bare `HirId` | marmeladema | -16/+14 | |
| 2020-04-23 | Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId` | marmeladema | -23/+24 | |
| 2020-04-23 | librustc_middle: return LocalDefId instead of DefId in local_def_id | marmeladema | -41/+45 | |
| 2020-04-16 | Rollup merge of #71221 - cuviper:rustdoc_or_patterns, r=Mark-Simulacrum | Dylan DPC | -4/+6 | |
| Dogfood or_patterns in rustdoc We can start using `or_patterns` in `rustdoc` as a step toward stabilization. cc #54883 @Centril | ||||
| 2020-04-16 | Dogfood or_patterns in rustdoc | Josh Stone | -4/+6 | |
| 2020-04-16 | Rollup merge of #71179 - matthiaskrgr:cl6ppy, r=Dylan-DPC | Dylan DPC | -3/+3 | |
| fix more clippy warnings | ||||
| 2020-04-16 | Rollup merge of #71145 - pfmooney:illumos-triple, r=nagisa | Dylan DPC | -0/+1 | |
| Add illumos triple This fixes rust-lang/rust#55553 and adds support for `illumos` as a `target_os` on `x86_64`. In addition to the compile spec and libstd additions, several library dependencies have been bumped in order to permit working builds of cargo and rustup for the new target. Work originally started by @jasonbking, with subsequent additions by @pfmooney and @jclulow. | ||||
| 2020-04-16 | Rollup merge of #70990 - GuillaumeGomez:rustdoc-cleanup, r=ollie27 | Dylan DPC | -24/+20 | |
| Improve rustdoc source code a bit Very small clean up. I realized that there were too many nested conditions whereas we could just use `and_then`. r? @kinnison cc @ollie27 | ||||
| 2020-04-16 | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | -3/+3 | |
| 2020-04-14 | Add illumos triple | Patrick Mooney | -0/+1 | |
| Co-Authored-By: Jason King <jason.brian.king@gmail.com> Co-Authored-By: Joshua M. Clulow <jmc@oxide.computer> | ||||
| 2020-04-14 | Remove `DUMMY_HIR_ID` | marmeladema | -15/+9 | |
| 2020-04-14 | Rename AssocKind::Method to AssocKind::Fn | Rustin-Liu | -2/+2 | |
| Rename fn_has_self_argument to fn_has_self_parameter Rename AssocItemKind::Method to AssocItemKind::Fn Refine has_no_input_arg Refine has_no_input_arg Revert has_no_input_arg Refine suggestion_descr Move as_def_kind into AssocKind Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> Fix tidy check issue Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> | ||||
| 2020-04-11 | Auto merge of #70161 - cjgillot:query-arena, r=nikomatsakis | bors | -17/+10 | |
| Allocate some query results on an arena This avoids a cloning few `Lrc` and `Vec`s in the queries. | ||||
| 2020-04-10 | Improve rustdoc source code a bit | Guillaume Gomez | -24/+20 | |
| 2020-04-10 | librustc_middle: return LocalDefId instead of DefId in local_def_id_from_node_id | marmeladema | -3/+7 | |
| 2020-04-10 | librustc_middle: return LocalDefId instead of DefId in body_owner_def_id | marmeladema | -1/+4 | |
| 2020-04-08 | Rollup merge of #70828 - ollie27:rustdoc_external_macro_src, r=eddyb | Dylan DPC | -1/+4 | |
| rustdoc: Don't try to load source files from external crates Local items defined in external macros shouldn't generate rendered source files and should link to the external crate's docs instead. Part of #70757 r? @GuillaumeGomez cc @eddyb | ||||
| 2020-04-08 | rustdoc: Don't try to load source files from external crates | Oliver Middleton | -1/+4 | |
| Local items defined in external macros shouldn't generate rendered source files and should link to the external crate's docs instead. | ||||
| 2020-04-06 | ty: remove `{Existential,}Trait{Ref,Predicate}::input_types`. | Eduard-Mihai Burtescu | -52/+52 | |
| 2020-04-06 | ty: remove unnecessary `Predicate::walk_tys` and `collect_regions`. | Eduard-Mihai Burtescu | -19/+22 | |
| 2020-04-05 | Retire rustc::ty::Attributes enum. | Camille GILLOT | -14/+6 | |
| 2020-04-05 | Allocate query Vecs on the arena. | Camille GILLOT | -3/+4 | |
| 2020-04-05 | Stop importing int modules in librustdoc | Linus Färnstrand | -1/+0 | |
| 2020-04-02 | direct imports for langitem stuff | Mazdak Farrokhzad | -2/+2 | |
| 2020-04-02 | nix rustc_target::abi::* reexport in ty::layout | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-31 | more clippy fixes | Matthias Krüger | -42/+28 | |
| use is_empty() instead of len comparison (clippy::len_zero) use if let instead of while let loop that never loops (clippy::never_loop) remove redundant returns (clippy::needless_return) remove redundant closures (clippy::redundant_closure) use if let instead of match and wildcard pattern (clippy::single_match) don't repeat field names redundantly (clippy::redundant_field_names) | ||||
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -9/+9 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -22/+22 | |
| 2020-03-24 | rustc: remove rustc_hir_pretty dependency. | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-24 | Rollup merge of #70277 - matthewjasper:remove-closurebound, r=nikomatsakis | Mazdak Farrokhzad | -1/+0 | |
| Remove `ReClosureBound` We now substitute external names for regions in the query response. r? @nikomatsakis | ||||
| 2020-03-23 | Remove `ReClosureBound` | Matthew Jasper | -1/+0 | |
| 2020-03-22 | don't create variable bindings just to return the bound value immediately ↵ | Matthias Krüger | -4/+2 | |
| (clippy::let_and_return) | ||||
| 2020-03-16 | Support type search for arguments and returned types | Guillaume Gomez | -16/+58 | |
| 2020-03-15 | More Method->Fn renaming | Mark Mansi | -3/+3 | |
| 2020-03-14 | Update `krate_attrs` and `get_module` | John Kåre Alsaker | -0/+2 | |
