| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-05 | Auto merge of #67808 - Marwes:projection_normalization_recurse, r=nikomatsakis | bors | -0/+3 | |
| perf: Don't recurse into types that do not need normalizing A bit speculative at this stage but profiling shows that type folding takes up a substantial amount of time during normalization which may indicate that many types may be folded despite there being nothing to normalize | ||||
| 2020-01-05 | Add backticks to various diagnostics | varkor | -10/+10 | |
| 2020-01-04 | hir::{hir,def,itemlikevisit,pat_util,print} -> rustc_hir | Mazdak Farrokhzad | -5763/+147 | |
| Also fix fallout wrt. HashStable. | ||||
| 2020-01-04 | extract Export, ExportMap from hir::def | Mazdak Farrokhzad | -29/+40 | |
| 2020-01-04 | simplify self::Namespace::* import | Mazdak Farrokhzad | -11/+9 | |
| 2020-01-04 | move {Par}DeepVisitor to intravisit | Mazdak Farrokhzad | -57/+55 | |
| 2020-01-04 | hir::hir: simplify some imports | Mazdak Farrokhzad | -16/+10 | |
| 2020-01-04 | split hir/mod.rs -> hir.rs & hir/hir.rs | Mazdak Farrokhzad | -24/+41 | |
| 2020-01-04 | move `HirId` to librustc_hir::hir_id | Mazdak Farrokhzad | -85/+2 | |
| 2020-01-04 | move def_id to new rustc_hir crate | Mazdak Farrokhzad | -188/+2 | |
| 2020-01-04 | move describe_as_module to where it's used | Mazdak Farrokhzad | -18/+22 | |
| 2020-01-04 | remove DefId::to_dep_node (dead code) | Mazdak Farrokhzad | -6/+0 | |
| 2020-01-04 | {HirId,ItemLocal}{Map,Set} -> rustc::hir & nix rustc::nodemap | Mazdak Farrokhzad | -14/+7 | |
| 2020-01-04 | DefId{Map,Set} -> rustc::hir::def_id | Mazdak Farrokhzad | -19/+15 | |
| 2020-01-04 | canonicalize rustc_session imports | Mazdak Farrokhzad | -3/+2 | |
| 2020-01-04 | move Node{Map,Set} -> rustc_session::node_id | Mazdak Farrokhzad | -9/+9 | |
| 2020-01-04 | define_id_collections -> rustc_data_structures | Mazdak Farrokhzad | -6/+1 | |
| 2020-01-04 | canonicalize FxHash{Map,Set} imports | Mazdak Farrokhzad | -30/+32 | |
| 2020-01-04 | extract rustc::middle::codegen_fn_attrs | Mazdak Farrokhzad | -117/+120 | |
| 2020-01-04 | fn adt_kind -> wfcheck | Mazdak Farrokhzad | -10/+0 | |
| 2020-01-04 | Auto merge of #67788 - cjgillot:delint-day, r=Zoxc | bors | -939/+20 | |
| Move early and late lint mechanisms to librustc_lint. As requested, split from #67737 r? @Zoxc | ||||
| 2020-01-04 | Rollup merge of #67786 - Centril:canon-span, r=petrochenkov | Mazdak Farrokhzad | -56/+57 | |
| Nix reexports from `rustc_span` in `syntax` Remove reexports `syntax::{source_map, symbol, edition}` and use `rustc_span` paths directly. r? @petrochenkov | ||||
| 2020-01-03 | Rollup merge of #67595 - ohadravid:impl-trait-does-not-live-long-enough, ↵ | Yuki Okushi | -1/+1 | |
| r=estebank Suggest adding a lifetime constraint for opaque type Fixes #67577, where code like this: ``` struct List { data: Vec<String>, } impl List { fn started_with<'a>(&'a self, prefix: &'a str) -> impl Iterator<Item=&'a str> { self.data.iter().filter(|s| s.starts_with(prefix)).map(|s| s.as_ref()) } } ``` will show this error: ``` Compiling playground v0.0.1 (/playground) error[E0597]: `prefix` does not live long enough --> src/lib.rs:6:47 | 5 | fn started_with<'a>(&'a self, prefix: &'a str) -> impl Iterator<Item=&'a str> { | -- lifetime `'a` defined here --------------------------- opaque type requires that `prefix` is borrowed for `'a` ... ``` but without suggesting the lovely `help: you can add a constraint..`. r? @estebank | ||||
| 2020-01-02 | Normalize `syntax::edition` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -38/+39 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -17/+17 | |
| 2020-01-02 | perf: Don't recurse into types that do not need normalizing | Markus Westerlind | -0/+3 | |
| A bit speculative at this stage but profiling shows that type folding takes up a substantial amount of time during normalization which may indicate that many types may be folded despite there being nothing to normalize | ||||
| 2020-01-01 | Move stability queries to librustc_passes. | Camille GILLOT | -4/+410 | |
| Contains: - check_mod_unstable_api_usage query; - stability_index query; - check_unused_or_stable features pass. | ||||
| 2020-01-01 | Move stability.rs to librustc_passes. | Camille GILLOT | -1001/+0 | |
| 2020-01-01 | Move lint levels machanism in librustc_lint. | Camille GILLOT | -121/+2 | |
| 2020-01-01 | Move late lint machanism in librustc_lint. | Camille GILLOT | -453/+9 | |
| 2020-01-01 | Move early lint machanism in librustc_lint. | Camille GILLOT | -368/+12 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -114/+114 | |
| 2019-12-31 | Auto merge of #67764 - Centril:rollup-ycbq3os, r=Centril | bors | -6233/+27 | |
| Rollup of 6 pull requests Successful merges: - #67574 (Extract `rustc_ast_lowering` crate from `rustc`) - #67685 (Constify Result) - #67702 (Add symbol normalization for proc_macro_server.) - #67730 (Cleanup pattern type checking, fix diagnostics bugs (+ improvements)) - #67744 (parser: reduce diversity in error handling mechanisms) - #67748 (Use function attribute "frame-pointer" instead of "no-frame-pointer-elim") Failed merges: r? @ghost | ||||
| 2019-12-31 | Rollup merge of #67730 - Centril:typeck-pat-cleanup, r=estebank | Mazdak Farrokhzad | -17/+25 | |
| Cleanup pattern type checking, fix diagnostics bugs (+ improvements) r? @estebank | ||||
| 2019-12-31 | Rollup merge of #67574 - Centril:librustc_lowering, r=Mark-Simulacrum | Mazdak Farrokhzad | -6216/+2 | |
| Extract `rustc_ast_lowering` crate from `rustc` Working towards https://github.com/rust-lang/rust/issues/65031. This PR moves `src/librustc/hir/lowering{/, .rs}` to its own crate (`librustc_ast_lowering`) which is very self-contained (only `fn lower_crate` and `trait Resolver` are exposed). r? @Mark-Simulacrum | ||||
| 2019-12-31 | librustc_ast_lowering: fix misc fallout. | Mazdak Farrokhzad | -4/+2 | |
| 2019-12-31 | librustc_ast_lowering: move the files. | Mazdak Farrokhzad | -6212/+0 | |
| 2019-12-31 | Auto merge of #67699 - cjgillot:passes-resolve, r=Zoxc | bors | -2864/+19 | |
| Move resolve_lifetimes query in librustc_resolve. Split out of #67688 r? @Zoxc | ||||
| 2019-12-31 | Auto merge of #67752 - Dylan-DPC:rollup-7f9v4nx, r=Dylan-DPC | bors | -876/+10 | |
| Rollup of 5 pull requests Successful merges: - #67430 (doc: minus (U+2212) instead of dash (U+002D) for negative infinity) - #67697 (Move the region_scope_tree query to librustc_passes.) - #67719 (Add self to .mailmap) - #67723 (Add error code explanation for E0477) - #67735 (Support `-Z ui-testing=yes/no`) Failed merges: r? @ghost | ||||
| 2019-12-31 | Rollup merge of #67697 - cjgillot:passes-scope-tree, r=Zoxc | Dylan DPC | -876/+10 | |
| Move the region_scope_tree query to librustc_passes. Split out of #67688. r? @Zoxc | ||||
| 2019-12-31 | Change wording for lifetime suggestion for opaque types from `constraint` to ↵ | Ohad Ravid | -1/+1 | |
| `bound` | ||||
| 2019-12-31 | Auto merge of #67597 - estebank:placeholder-type, r=oli-obk | bors | -0/+10 | |
| Suggest type param when encountering `_` in item signatures Fix #27435. | ||||
| 2019-12-31 | Simplify ResolveLiftimes creation. | Camille GILLOT | -54/+13 | |
| 2019-12-31 | Review comments. | Camille GILLOT | -6/+1 | |
| 2019-12-31 | Move resolve_lifetimes query in librustc_resolve. | Camille GILLOT | -0/+132 | |
| 2019-12-31 | Move resolve_lifetime.rs to librustc_resolve. | Camille GILLOT | -2931/+0 | |
| 2019-12-31 | Auto merge of #67032 - cjgillot:hirene, r=Zoxc | bors | -296/+171 | |
| Allocate HIR on an arena 4/4 This is the fourth and last PR in the series started by #66931, #66936 and #66942. The last commits should compile on their own. The difference with the previous PR is given by https://github.com/cjgillot/rust/compare/hirene-ty...hirene A few more cleanups may be necessary, please tell me. r? @eddyb like the other cc @Zoxc | ||||
| 2019-12-30 | Enlarge smallvec. | Camille GILLOT | -2/+2 | |
| 2019-12-30 | Reduce allocations. | Camille GILLOT | -9/+8 | |
