| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-08 | reduce code duplication | Esteban Küber | -35/+35 | |
| 2020-01-08 | review comments | Esteban Küber | -26/+40 | |
| 2020-01-08 | review comments | Esteban Küber | -16/+34 | |
| 2020-01-08 | review comment: wording | Esteban Küber | -6/+8 | |
| 2020-01-08 | Point at the def span of trait refs E0277 | Esteban Küber | -1/+8 | |
| 2020-01-08 | review comments | Esteban Küber | -17/+23 | |
| 2020-01-08 | Point at opaque and closure type definitions in type errors | Esteban Küber | -5/+92 | |
| 2020-01-08 | - remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!} | Mazdak Farrokhzad | -18/+12 | |
| - remove syntax::{help!, span_help!, span_note!} - remove unused syntax::{struct_span_fatal, struct_span_err_or_warn!, span_err_or_warn!} - lintify check_for_bindings_named_same_as_variants + conflicting_repr_hints - inline syntax::{struct_span_warn!, diagnostic_used!} - stringify_error_code! -> error_code! & use it more. - find_plugin_registrar: de-fatalize an error - de-fatalize metadata errors - move type_error_struct! to rustc_typeck - struct_span_err! -> rustc_errors | ||||
| 2020-01-07 | Move required_region_bounds to rustc::infer::opaque_types. | Camille GILLOT | -2/+67 | |
| 2020-01-07 | Move free_region_map to rustc::ty. | Camille GILLOT | -99/+2 | |
| 2020-01-07 | Make ↵ | Camille GILLOT | -1/+2 | |
| rustc::traits::object_safety::{astconv_object_safety_violations,is_vtable_safe_method,object_safety_violations} free functions. | ||||
| 2020-01-07 | Make ↵ | Camille GILLOT | -1/+2 | |
| rustc::traits::error_reporting::{recursive_type_with_infinite_size_error, report_object_safety_error} free functions. | ||||
| 2020-01-07 | Make rustc::infer::error_reporting::{note_and_explain_free_region, ↵ | Camille GILLOT | -125/+164 | |
| note_and_explain_region} free functions. | ||||
| 2020-01-07 | Remove private methods from TyCtxt impl block: rustc::infer::error_reporting. | Camille GILLOT | -108/+109 | |
| 2020-01-06 | Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa | bors | -37/+35 | |
| Nix `rustc_hir` reexports in rustc::hir r? @Zoxc cc @Mark-Simulacrum | ||||
| 2020-01-05 | Rollup merge of #67881 - varkor:scattering-of-backticks, r=Centril | Dylan DPC | -10/+10 | |
| Add backticks to various diagnostics | ||||
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -37/+35 | |
| 2020-01-05 | Add backticks to various diagnostics | varkor | -10/+10 | |
| 2020-01-04 | DefId{Map,Set} -> rustc::hir::def_id | Mazdak Farrokhzad | -2/+1 | |
| 2020-01-04 | canonicalize FxHash{Map,Set} imports | Mazdak Farrokhzad | -3/+4 | |
| 2020-01-04 | Rollup merge of #67786 - Centril:canon-span, r=petrochenkov | Mazdak Farrokhzad | -6/+6 | |
| 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::symbol` imports. | Mazdak Farrokhzad | -3/+3 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -3/+3 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -17/+17 | |
| 2019-12-31 | Change wording for lifetime suggestion for opaque types from `constraint` to ↵ | Ohad Ravid | -1/+1 | |
| `bound` | ||||
| 2019-12-30 | discriminant -> scrutinee | Mazdak Farrokhzad | -5/+5 | |
| 2019-12-30 | Blame user type in pat type error. | Mazdak Farrokhzad | -2/+5 | |
| 2019-12-30 | refactor and fix this-expression-has-type note | Mazdak Farrokhzad | -0/+1 | |
| 2019-12-30 | MatchExpressionArmPattern -> Pattern | Mazdak Farrokhzad | -1/+1 | |
| Current name is too specific for incoming changes. | ||||
| 2019-12-30 | MatchExpressionArmPattern: Use more generic wording. | Mazdak Farrokhzad | -1/+1 | |
| The existing wording was inappropriate for e.g. `if let Ok(_) = expr { .. }`. The diagnostic would leak the fact that we desugar to a `match`. | ||||
| 2019-12-27 | Visit for hir::Ty. | Camille GILLOT | -1/+1 | |
| 2019-12-27 | Syntax for hir::Ty. | Camille GILLOT | -9/+9 | |
| 2019-12-26 | Visit for hir::Expr. | Camille GILLOT | -1/+1 | |
| 2019-12-26 | Syntax for hir::Expr. | Camille GILLOT | -8/+8 | |
| 2019-12-24 | x.py fmt after previous deignore | Mark Rousskov | -55/+61 | |
| 2019-12-22 | Format the world | Mark Rousskov | -2042/+1854 | |
| 2019-12-22 | Auto merge of #66931 - cjgillot:hirene-preamble, r=eddyb | bors | -6/+6 | |
| Allocate HIR on an arena 1/4 This PR is the first in a series of 4, aiming at allocating the HIR on an arena, as a memory optimisation. 1. This first PR lays the groundwork and migrates some low-hanging fruits. 2. The second PR will migrate `hir::Expr`, `hir::Pat` and related. 3. The third PR will migrate `hir::Ty` and related. 4. The final PR will be dedicated to eventual cleanups. In order to make the transition as gradual as possible, some lowering routines receive `Box`-allocated data and move it into the arena. This is a bit wasteful, but hopefully temporary. Nonetheless, special care should be taken to avoid double arena allocations. Work mentored by @Zoxc. | ||||
| 2019-12-21 | Use Arena inside hir::Body. | Camille GILLOT | -3/+3 | |
| 2019-12-21 | Use Arena inside hir::ImplItem. | Camille GILLOT | -1/+1 | |
| 2019-12-21 | Use Arena inside hir::TraitItem. | Camille GILLOT | -1/+1 | |
| 2019-12-21 | Use Arena inside hir::Item. | Camille GILLOT | -1/+1 | |
| 2019-12-20 | Check associated type implementations for generic mismatches | Matthew Jasper | -0/+2 | |
| 2019-12-14 | Indicate origin of where type parameter for uninferred types | Ohad Ravid | -16/+72 | |
| 2019-12-13 | Auto merge of #65951 - estebank:type-inference-error, r=nikomatsakis | bors | -25/+153 | |
| Point at method call when type annotations are needed - Point at method call instead of whole expression when type annotations are needed. - Suggest use of turbofish on function and methods. Fix #49391, fix #46333, fix #48089. CC #58517, #63502, #63082. Fixes https://github.com/rust-lang/rust/issues/40015 r? @nikomatsakis | ||||
| 2019-12-11 | Add more context for type parameters | Esteban Küber | -15/+27 | |
| 2019-12-11 | Reuse existing HirId → DefId table | Esteban Küber | -5/+4 | |
| 2019-12-11 | Change `PendingPredicateObligation::stalled_on`'s type. | Nicholas Nethercote | -9/+7 | |
| From a `Vec<Ty>` to a `Vec<InferTy>`, because that's a more restrictive type. This is a perf win because the ultra-hot function `shallow_resolve_changed` has less pattern-matching to do. | ||||
| 2019-12-11 | Optimize `shallow_resolve_changed`. | Nicholas Nethercote | -13/+15 | |
| It can be made even more specialized. | ||||
| 2019-12-10 | Use `generics_of` instead of incorrectly inspecting `FnSig` arguments | Esteban Küber | -17/+36 | |
