| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-19 | even more unify Projection/Opaque in outlives code | Ali MJ Al-Nasrawy | -4/+2 | |
| 2023-01-17 | Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 | Matthias Krüger | -1/+1 | |
| 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 | -1/+1 | |
| 2023-01-17 | Rollup merge of #106829 - compiler-errors:more-alias-combine, r=spastorino | Matthias Krüger | -3/+2 | |
| Unify `Opaque`/`Projection` handling in region outlives code They share basically identical paths in most places which are even easier to unify now that they're both `ty::Alias` r? types | ||||
| 2023-01-15 | Remove bound_{explicit,}_item_bounds | Michael Goulet | -8/+7 | |
| 2023-01-15 | Make InstantiatedPredicates impl IntoIterator | Michael Goulet | -4/+1 | |
| 2023-01-14 | change impl_trait_ref query to return EarlyBinder; remove ↵ | Kyle Matsuda | -4/+3 | |
| 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 | -1/+2 | |
| 2023-01-13 | Unify Opaque/Projection handling in region outlives code | Michael Goulet | -3/+2 | |
| 2023-01-10 | Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk | Yuki Okushi | -1/+1 | |
| 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-07 | make ascribe_user_type a TypeOp | Ali MJ Al-Nasrawy | -11/+42 | |
| Projection types in user annotations may contain inference variables. This makes the normalization depend on the unification with the actual type and thus requires a separate TypeOp to track the obligations. Otherwise simply calling `TypeChecker::normalize` would ICE with "unexpected ambiguity" | ||||
| 2023-01-07 | don't normalize in astconv | Ali MJ Al-Nasrawy | -0/+1 | |
| We delay projection normalization to further stages in order to register user type annotations before normalization in HIR typeck. There are two consumers of astconv: ItemCtxt and FnCtxt. The former already expects unnormalized types from astconv, see its AstConv trait impl. The latter needs `RawTy` for a cleaner interface. Unfortunately astconv still needs the normalization machinery in order to resolve enum variants that have projections in the self type, e.g. `<<T as Trait>::Assoc>::StructVariant {}`. This is why `AstConv::normalize_ty_2` is necessary. | ||||
| 2023-01-05 | Fix `uninlined_format_args` for some compiler crates | nils | -3/+3 | |
| Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem). | ||||
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -2/+2 | |
| 2022-12-14 | Ensure no one constructs `AliasTy`s themselves | Oli Scherer | -14/+14 | |
| 2022-12-13 | Remove chalk lowering for AliasTy | Michael Goulet | -11/+10 | |
| 2022-12-13 | Combine identical alias arms | Michael Goulet | -2/+2 | |
| 2022-12-13 | Combine projection and opaque into alias | Michael Goulet | -24/+31 | |
| 2022-12-13 | squash OpaqueTy and ProjectionTy into AliasTy | Michael Goulet | -8/+8 | |
| 2022-12-13 | ProjectionTy.item_def_id -> ProjectionTy.def_id | Michael Goulet | -5/+5 | |
| 2022-12-13 | Use ty::OpaqueTy everywhere | Michael Goulet | -9/+13 | |
| 2022-12-08 | Move some suggestions from error_reporting to error_reporting::suggest | Michael Goulet | -1/+1 | |
| 2022-12-08 | Move codegen_select_candidate to a rustc_traits | Michael Goulet | -0/+90 | |
| 2022-11-28 | Make ObligationCtxt::normalize take cause by borrow | Michael Goulet | -3/+3 | |
| 2022-11-28 | partially_normalize_... -> At::normalize | Michael Goulet | -3/+3 | |
| 2022-11-28 | Rename At::normalize to At::query_normalize | Michael Goulet | -3/+3 | |
| 2022-11-26 | Rollup merge of #104906 - spastorino:remove-ascribeusertypecx, r=compiler-errors | Matthias Krüger | -107/+50 | |
| Remove AscribeUserTypeCx r? ``@compiler-errors`` This basically inlines `AscribeUserTypeCx::relate_mir_and_user_ty` into `type_op_ascribe_user_type_with_span` which is the only place where it's used and makes direct use of `ObligationCtxt` API. | ||||
| 2022-11-25 | Define all clauses as dummy_with_span as the usages are all equivalent | Santiago Pastorino | -7/+5 | |
| 2022-11-25 | Remove AscribeUserTypeCx | Santiago Pastorino | -107/+52 | |
| 2022-11-25 | Introduce PredicateKind::Clause | Santiago Pastorino | -49/+63 | |
| 2022-11-24 | Auto merge of #103693 - HKalbasi:master, r=oli-obk | bors | -15/+15 | |
| Make rustc_target usable outside of rustc I'm working on showing type size in rust-analyzer (https://github.com/rust-lang/rust-analyzer/pull/13490) and I currently copied rustc code inside rust-analyzer, which works, but is bad. With this change, I would become able to use `rustc_target` and `rustc_index` directly in r-a, reducing the amount of copy needed. This PR contains some feature flag to put nightly features behind them to make crates buildable on the stable compiler + makes layout related types generic over index type + removes interning of nested layouts. | ||||
| 2022-11-24 | move some layout logic to rustc_target::abi::layout | hkalbasi | -15/+15 | |
| 2022-11-24 | Avoid `GenFuture` shim when compiling async constructs | Arpad Borsos | -1/+5 | |
| Previously, async constructs would be lowered to "normal" generators, with an additional `from_generator` / `GenFuture` shim in between to convert from `Generator` to `Future`. The compiler will now special-case these generators internally so that async constructs will *directly* implement `Future` without the need to go through the `from_generator` / `GenFuture` shim. The primary motivation for this change was hiding this implementation detail in stack traces and debuginfo, but it can in theory also help the optimizer as there is less abstractions to see through. | ||||
| 2022-11-23 | Pass ObligationCtxt from enter_canonical_trait_query and use ObligationCtxt API | Santiago Pastorino | -16/+13 | |
| 2022-11-22 | Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnr | Manish Goregaokar | -0/+6 | |
| Allow opaque types in trait impl headers and rely on coherence to reject unsound cases r? ````@lcnr```` fixes #99840 | ||||
| 2022-11-21 | Allow iterators instead of requiring slices that will get turned into iterators | Oli Scherer | -1/+1 | |
| 2022-11-21 | Add an always-ambiguous predicate to make sure that we don't accidentlally ↵ | Oli Scherer | -0/+6 | |
| allow trait resolution to prove false things during coherence | ||||
| 2022-11-21 | Rollup merge of #104595 - compiler-errors:poly-existential-predicate, r=lcnr | Matthias Krüger | -1/+1 | |
| Add `PolyExistentialPredicate` type alias Wrapping `ExistentialPredicate`s in a binder is very common, and this alias already exists for the `PolyExistential{TraitRef,Projection}` types. | ||||
| 2022-11-20 | Auto merge of #104522 - RalfJung:try_normalize_after_erasing_regions, r=oli-obk | bors | -1/+3 | |
| try_normalize_after_erasing_regions: promote an assertion to always run In https://github.com/rust-lang/miri/issues/2433 this assertion has been seen to trigger, so it might be worth actually checking this? Regressing debug assertions are very easy to miss until much later, and then they become quite hard to debug. | ||||
| 2022-11-19 | drive-by: PolyExistentialPredicate | Michael Goulet | -1/+1 | |
| 2022-11-17 | try_normalize_after_erasing_regions: promote an assertion to always run | Ralf Jung | -1/+3 | |
| 2022-11-16 | Convert predicates into Predicate in the Obligation constructor | Oli Scherer | -3/+8 | |
| 2022-11-13 | Make rustc build with new chalk | Michael Goulet | -3/+3 | |
| 2022-11-09 | make dropck_outlives into a proper canonicalized type query | Michael Goulet | -110/+97 | |
| 2022-11-07 | Add an optional Span to BrAnon and use it to print better error for HRTB ↵ | Jack Huey | -10/+12 | |
| error from generator interior | ||||
| 2022-11-04 | Refactor tcx mk_const parameters. | Mateusz | -5/+5 | |
| 2022-10-27 | remove _types from ocx method names | Michael Goulet | -3/+3 | |
| 2022-10-27 | Address some more nits | Michael Goulet | -14/+3 | |
| 2022-10-27 | (almost) Always use ObligationCtxt when dealing with canonical queries | Michael Goulet | -80/+56 | |
