| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-31 | Rollup merge of #107467 - WaffleLapkin:uneq, r=oli-obk | Guillaume Gomez | -48/+55 | |
| Improve enum checks Some light refactoring. | ||||
| 2023-01-31 | Auto merge of #106399 - estebank:type-err-span-label, r=nagisa | bors | -0/+1 | |
| Modify primary span label for E0308 Looking at the reactions to https://hachyderm.io/`@ekuber/109622160673605438,` a lot of people seem to have trouble understanding the current output, where the primary span label on type errors talks about the specific types that diverged, but these can be deeply nested type parameters. Because of that we could see "expected i32, found u32" in the label while the note said "expected Vec<i32>, found Vec<u32>". This understandably confuses people. I believe that once people learn to read these errors it starts to make more sense, but this PR changes the output to be more in line with what people might expect, without sacrificing terseness. Fix #68220. | ||||
| 2023-01-30 | Track bound types like bound regions | Michael Goulet | -1/+1 | |
| 2023-01-30 | review comments | Esteban Küber | -4/+2 | |
| 2023-01-30 | Modify primary span label for E0308 | Esteban Küber | -1/+4 | |
| The previous output was unintuitive to users. | ||||
| 2023-01-30 | Rollup merge of #107125 - ↵ | Matthias Krüger | -13/+13 | |
| WaffleLapkin:expect_an_item_in_your_hir_by_the_next_morning, r=Nilstrieb Add and use expect methods to hir. [The future has come](https://github.com/rust-lang/rust/pull/106090/files#r1070062462). r? `@Nilstrieb` tbh I'm not even sure if it's worth it | ||||
| 2023-01-30 | Replace enum `==`s with `match`es where it makes sense | Maybe Waffle | -48/+55 | |
| 2023-01-30 | Use `expect_{use,fn}` in a couple of places | Maybe Waffle | -1/+1 | |
| 2023-01-29 | Auto merge of #106253 - nbdd0121:upcast, r=compiler-errors | bors | -1/+1 | |
| Skip possible where_clause_object_safety lints when checking `multiple_supertrait_upcastable` Fix #106247 To achieve this, I lifted the `WhereClauseReferencesSelf` out from `object_safety_violations` and move it into `is_object_safe` (which is changed to a new query). cc `@dtolnay` r? `@compiler-errors` | ||||
| 2023-01-28 | Rename `is_object_safe` to `check_is_object_safe` to hint side effects | Gary Guo | -1/+1 | |
| 2023-01-28 | Replace `object_safety_violations().is_empty()` calls with `is_object_safe` | Gary Guo | -1/+1 | |
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -10/+16 | |
| 2023-01-27 | Compute generator saved locals on MIR. | Camille GILLOT | -3/+36 | |
| 2023-01-26 | fix up subst_identity vs skip_binder; add some FIXMEs as identified in review | Kyle Matsuda | -3/+3 | |
| 2023-01-26 | change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add ↵ | Kyle Matsuda | -16/+21 | |
| EarlyBinder to fn_sig in metadata | ||||
| 2023-01-26 | replace usages of fn_sig query with bound_fn_sig | Kyle Matsuda | -16/+16 | |
| 2023-01-23 | fix: use LocalDefId instead of HirId in trait res | Vincenzo Palazzo | -74/+84 | |
| use LocalDefId instead of HirId in trait resolution to simplify the obligation clause resolution Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> | ||||
| 2023-01-21 | Label closure captures/generator locals that make opaque types recursive | Michael Goulet | -6/+53 | |
| 2023-01-20 | Add and use expect methods to hir. | Maybe Waffle | -12/+12 | |
| 2023-01-20 | Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb | bors | -174/+133 | |
| Remove some `ref` patterns from the compiler Previous PR: https://github.com/rust-lang/rust/pull/105368 r? `@Nilstrieb` | ||||
| 2023-01-17 | Stop using `BREAK` & `CONTINUE` in compiler | Scott McMurray | -4/+4 | |
| Switching them to `Break(())` and `Continue(())` instead. libs-api would like to remove these constants, so stop using them in compiler to make the removal PR later smaller. | ||||
| 2023-01-17 | Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 | Matthias Krüger | -16/+16 | |
| Remove double spaces after dots in comments Most of the comments do not have double spaces, so I assume these are typos. | ||||
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -16/+16 | |
| 2023-01-17 | Review suggestions | Maybe Waffle | -16/+14 | |
| 2023-01-17 | `rustc_hir_analysis`: remove `ref` patterns | Maybe Waffle | -39/+36 | |
| 2023-01-17 | `rustc_hir_analysis`: some general code improvements | Maybe Waffle | -88/+74 | |
| 2023-01-17 | Don't call closures immediately, use `try{}` blocks | Maybe Waffle | -45/+23 | |
| 2023-01-16 | Add missing normalization for union fields types | Guillaume Gomez | -1/+1 | |
| 2023-01-15 | Remove bound_{explicit,}_item_bounds | Michael Goulet | -5/+4 | |
| 2023-01-15 | Make InstantiatedPredicates impl IntoIterator | Michael Goulet | -11/+9 | |
| 2023-01-15 | instantiate_own doesn't need to return a pair of vectors | Michael Goulet | -12/+13 | |
| 2023-01-14 | fix various subst_identity vs skip_binder | Kyle Matsuda | -1/+1 | |
| 2023-01-14 | change impl_trait_ref query to return EarlyBinder; remove ↵ | Kyle Matsuda | -6/+5 | |
| bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata | ||||
| 2023-01-14 | change usages of impl_trait_ref to bound_impl_trait_ref | Kyle Matsuda | -7/+10 | |
| 2023-01-14 | change const_param_default query to return EarlyBinder; remove ↵ | Kyle Matsuda | -2/+2 | |
| bound_const_param_default query; add EarlyBinder to const_param_default in metadata | ||||
| 2023-01-14 | change usages of const_param_default query to bound_const_param_default | Kyle Matsuda | -2/+2 | |
| 2023-01-13 | Rollup merge of #106465 - compiler-errors:bump-IMPLIED_BOUNDS_ENTAILMENT, r=lcnr | Matthias Krüger | -12/+148 | |
| Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow https://github.com/rust-lang/rust/pull/105575#issuecomment-1357201969 > and then later in the same cycle increase the lint to `deny` and change it to `FutureCompatReportNow` in this nightly cycle. r? ```@lcnr``` when they're back from holiday :smile: | ||||
| 2023-01-13 | Add logic to make IMPLIED_BOUNDS_ENTAILMENT easier to understand | Michael Goulet | -12/+148 | |
| 2023-01-12 | Only point at impl self ty in WF if trait predicate shares self ty | Michael Goulet | -2/+9 | |
| 2023-01-12 | Point at impl self type for impl wf obligations | Michael Goulet | -1/+1 | |
| 2023-01-12 | Point at HIR types when impl trait ref doesn't normalize | Michael Goulet | -1/+5 | |
| 2023-01-11 | Move autoderef to rustc_hir_analysis | Michael Goulet | -1/+2 | |
| 2023-01-10 | Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk | Yuki Okushi | -18/+2 | |
| No need to take opaques in `check_type_bounds` `InferCtxt` already has its defining use anchor set to err r? ``@oli-obk`` | ||||
| 2023-01-09 | Assert defining anchor is set in take_opaque_types | Michael Goulet | -1/+1 | |
| 2023-01-09 | No need to take opaques in check_type_bounds | Michael Goulet | -17/+1 | |
| 2023-01-09 | Rollup merge of #106164 - compiler-errors:check-region-tweak, r=oli-obk | fee1-dead | -7/+10 | |
| Move `check_region_obligations_and_report_errors` to `TypeErrCtxt` Makes sense for this function to live with its sibling `resolve_regions_and_report_errors`, around which it's basically just a wrapper. | ||||
| 2023-01-09 | Auto merge of #106582 - compiler-errors:better-spans-on-bad-tys, r=lcnr | bors | -40/+25 | |
| Improve spans of non-WF implied bound types Fixes #60980 | ||||
| 2023-01-08 | Rollup merge of #106131 - compiler-errors:not-ptrs, r=davidtwco | Michael Goulet | -22/+14 | |
| Mention "signature" rather than "fn pointer" when impl/trait methods are incompatible Fixes #80929 Fixes #67296 | ||||
| 2023-01-08 | Normalize assumed_wf_types after wfchecking is complete, for better spans | Michael Goulet | -3/+4 | |
| 2023-01-08 | Improve spans of non-WF implied bound types | Michael Goulet | -37/+21 | |
