| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-21 | Label closure captures/generator locals that make opaque types recursive | Michael Goulet | -6/+53 | |
| 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-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 | |
| 2023-01-08 | Mention signature rather than fn pointers when comparing impl/trait methods | Michael Goulet | -22/+14 | |
| 2023-01-08 | Add type flags support for Ty and Const late-bound regions | Michael Goulet | -1/+1 | |
| 2023-01-03 | Move check_region_obligations_and_report_errors to TypeErrCtxt | Michael Goulet | -7/+10 | |
| 2022-12-29 | Rollup merge of #106221 - Nilstrieb:rptr-more-like-ref-actually, ↵ | Matthias Krüger | -1/+1 | |
| r=compiler-errors Rename `Rptr` to `Ref` in AST and HIR The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-28 | Rename `Rptr` to `Ref` in AST and HIR | Nilstrieb | -1/+1 | |
| The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-28 | Auto merge of #106129 - compiler-errors:compare_method-tweaks, r=BoxyUwU | bors | -30/+63 | |
| Some `compare_method` tweaks 1. Make some of the comparison functions' names more regular 2. Reduce pub scope of some of the things in `compare_method` ~3. Remove some unnecessary opaque type handling code -- `InferCtxt` already is in a mode that doesn't define opaque types~ * moved to a different PR 4. Bubble up `ErrorGuaranteed` for region constraint errors in `compare_method` - Improves a redundant error message in one unit test. 5. Move the `compare_method` module to have a more general name, since it's more like `compare_impl_item` :) 6. Rename `collect_trait_impl_trait_tys` | ||||
| 2022-12-28 | better names and a comment | Michael Goulet | -3/+36 | |
| 2022-12-28 | Rename module compare_method -> compare_impl_item | Michael Goulet | -14/+14 | |
| 2022-12-28 | make some things less pub | Michael Goulet | -5/+5 | |
| 2022-12-27 | Emit fewer errors on invalid `#[repr(transparent)]` on `enum` | Esteban Küber | -4/+2 | |
| Fix #68420. | ||||
| 2022-12-25 | fix more clippy::style findings | Matthias Krüger | -4/+1 | |
| match_result_ok obfuscated_if_else single_char_add writeln_empty_string collapsible_match iter_cloned_collect unnecessary_mut_passed | ||||
| 2022-12-24 | Bubble up ErrorGuaranteed from region constraints in method item compare | Michael Goulet | -7/+7 | |
| 2022-12-24 | Rename some compare_method functions | Michael Goulet | -7/+7 | |
| 2022-12-24 | Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk | Matthias Krüger | -13/+13 | |
| rustc: Remove needless lifetimes | ||||
| 2022-12-21 | Auto merge of #105613 - Nilstrieb:rename-assert_uninit_valid, r=RalfJung | bors | -4/+4 | |
| Rename `assert_uninit_valid` intrinsic It's not about "uninit" anymore but about "filling with 0x01 bytes" so the name should at least try to reflect that. This is actually not fully correct though, as it does still panic for all uninit with `-Zstrict-init-checks`. I'm not sure what the best way is to deal with that not causing confusion. I guess we could just remove the flag? I don't think having it makes a lot of sense anymore with the direction that we have chose to go. It could be relevant again if #100423 lands so removing it may be a bit over eager. r? `@RalfJung` | ||||
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -13/+13 | |
| 2022-12-19 | Make fast-path for implied wf lint better | Michael Goulet | -71/+92 | |
| 2022-12-19 | Add IMPLIED_BOUNDS_ENTAILMENT lint | Michael Goulet | -5/+70 | |
| 2022-12-18 | remove redundant fn params that were only "used" in recursion | Matthias Krüger | -4/+3 | |
