| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-02-16 | remove bound_type_of query; make type_of return EarlyBinder; change type_of ↵ | Kyle Matsuda | -9/+9 | |
| in metadata | ||||
| 2023-02-16 | change usages of type_of to bound_type_of | Kyle Matsuda | -9/+9 | |
| 2023-02-16 | Deny some late-bound ty/ct in some positions, add tests | Michael Goulet | -1/+2 | |
| 2023-02-14 | Add `of_trait` to DefKind::Impl. | Camille GILLOT | -2/+2 | |
| 2023-02-13 | Make visiting traits generic over the Interner | Alan Egerton | -1/+1 | |
| 2023-02-13 | Alias folding/visiting traits instead of re-export | Alan Egerton | -1/+1 | |
| 2023-02-06 | remove unused imports | klensy | -1/+0 | |
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -12/+6 | |
| 2023-01-27 | Introduce GeneratorWitnessMIR. | Camille GILLOT | -1/+2 | |
| 2023-01-26 | fix up subst_identity vs skip_binder; add some FIXMEs as identified in review | Kyle Matsuda | -0/+1 | |
| 2023-01-26 | change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add ↵ | Kyle Matsuda | -1/+1 | |
| EarlyBinder to fn_sig in metadata | ||||
| 2023-01-26 | replace usages of fn_sig query with bound_fn_sig | Kyle Matsuda | -1/+1 | |
| 2023-01-18 | Also remove `#![feature(control_flow_enum)]` where possible | Scott McMurray | -1/+0 | |
| 2023-01-17 | Stop using `BREAK` & `CONTINUE` in compiler | Scott McMurray | -12/+16 | |
| 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-14 | change impl_trait_ref query to return EarlyBinder; remove ↵ | Kyle Matsuda | -2/+2 | |
| 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 | -4/+4 | |
| 2023-01-14 | change const_param_default query to return EarlyBinder; remove ↵ | Kyle Matsuda | -3/+1 | |
| 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 | -1/+3 | |
| 2023-01-11 | Change `src/test` to `tests` in source files, fix tidy and tests | Albert Larsan | -1/+1 | |
| 2023-01-08 | Auto merge of #106235 - compiler-errors:rework-bounds-collection, r=davidtwco | bors | -13/+16 | |
| Rework `Bounds` collection I think it's weird for the `Bounds` struct in astconv to store its predicates *almost* converted into real predicates... so we do this eagerly, instead of lazily. | ||||
| 2023-01-05 | Fix `uninlined_format_args` for some compiler crates | nils | -1/+1 | |
| 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). | ||||
| 2023-01-04 | rename get_parent_node to parent_id | Michael Goulet | -1/+1 | |
| 2022-12-28 | Rework hir Bounds collection | Michael Goulet | -13/+16 | |
| 2022-12-14 | Prevent the creation of `TraitRef` without dedicated methods | Oli Scherer | -14/+13 | |
| 2022-12-14 | Ensure no one constructs `AliasTy`s themselves | Oli Scherer | -1/+1 | |
| 2022-12-14 | Auto merge of #104986 - compiler-errors:opaques, r=oli-obk | bors | -12/+6 | |
| Combine `ty::Projection` and `ty::Opaque` into `ty::Alias` Implements https://github.com/rust-lang/types-team/issues/79. This PR consolidates `ty::Projection` and `ty::Opaque` into a single `ty::Alias`, with an `AliasKind` and `AliasTy` type (renamed from `ty::ProjectionTy`, which is the inner data of `ty::Projection`) defined as so: ``` enum AliasKind { Projection, Opaque, } struct AliasTy<'tcx> { def_id: DefId, substs: SubstsRef<'tcx>, } ``` Since we don't have access to `TyCtxt` in type flags computation, and because repeatedly calling `DefKind` on the def-id is expensive, these two types are distinguished with `ty::AliasKind`, conveniently glob-imported into `ty::{Projection, Opaque}`. For example: ```diff match ty.kind() { - ty::Opaque(..) => + ty::Alias(ty::Opaque, ..) => {} _ => {} } ``` This PR also consolidates match arms that treated `ty::Opaque` and `ty::Projection` identically. r? `@ghost` | ||||
| 2022-12-13 | Combine projection and opaque into alias | Michael Goulet | -2/+2 | |
| 2022-12-13 | squash OpaqueTy and ProjectionTy into AliasTy | Michael Goulet | -9/+3 | |
| 2022-12-13 | ProjectionTy.item_def_id -> ProjectionTy.def_id | Michael Goulet | -2/+2 | |
| 2022-12-13 | Use ty::OpaqueTy everywhere | Michael Goulet | -1/+1 | |
| 2022-12-13 | Make some diagnostics not depend on the source of what they reference being ↵ | Oli Scherer | -5/+5 | |
| available | ||||
| 2022-12-04 | drive-by: move field_index to typeck results | Michael Goulet | -5/+5 | |
| 2022-11-25 | Auto merge of #99798 - JulianKnodt:ac1, r=BoxyUwU | bors | -13/+2 | |
| Add `ConstKind::Expr` Starting to implement `ty::ConstKind::Abstract`, most of the match cases are stubbed out, some I was unsure what to add, others I didn't want to add until a more complete implementation was ready. r? `@lcnr` | ||||
| 2022-11-25 | Make `expand_abstract_consts` infallible | Boxy | -7/+1 | |
| 2022-11-25 | fmt | Boxy | -2/+3 | |
| 2022-11-25 | Add expand_abstract_const | kadmin | -6/+2 | |
| Adds the ability to directly expand a const to an expr without having to deal with intermediate steps. | ||||
| 2022-11-25 | Add empty ConstKind::Abstract | kadmin | -11/+9 | |
| Initial pass at expr/abstract const/s Address comments Switch to using a list instead of &[ty::Const], rm `AbstractConst` Remove try_unify_abstract_consts Update comments Add edits Recurse more More edits Prevent equating associated consts Move failing test to ui Changes this test from incremental to ui, and mark it as failing and a known bug. Does not cause the compiler to ICE, so should be ok. | ||||
| 2022-11-25 | Introduce PredicateKind::Clause | Santiago Pastorino | -7/+11 | |
| 2022-11-13 | Store a LocalDefId in hir::Variant & hir::Field. | Camille GILLOT | -45/+26 | |
| 2022-11-05 | privacy: Check effective visibility invariants | Vadim Petrochenkov | -0/+2 | |
| 2022-11-05 | privacy: Print effective visibilities of constructors | Vadim Petrochenkov | -0/+8 | |
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -53/+62 | |
| spastorino noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone. | ||||
| 2022-10-26 | privacy: Rename "accessibility levels" to "effective visibilities" | Vadim Petrochenkov | -66/+66 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-25 | Perf improvements for effective visibility calculating | Bryanskiy | -3/+5 | |
| 2022-10-23 | Migrate all diagnostics | Nilstrieb | -12/+12 | |
| 2022-10-19 | manually inline and rm `visit_abstract_const_expr` | lcnr | -16/+9 | |
| 2022-10-18 | change `ConstEvaluatable` to use `ty::Const` | lcnr | -9/+1 | |
| 2022-10-16 | Auto merge of #102026 - Bryanskiy:resolve_update, r=petrochenkov | bors | -22/+25 | |
| Populate effective visibilities in 'rustc_resolve' Next part of RFC https://github.com/rust-lang/rust/issues/48054. previous: https://github.com/rust-lang/rust/pull/101713 `@rustbot` author r? `@petrochenkov` | ||||
| 2022-10-16 | Populate effective visibilities in 'rustc_resolve' | Bryanskiy | -22/+25 | |
| 2022-10-12 | Auto merge of #101679 - compiler-errors:rpitit-default-body, r=nikomatsakis | bors | -2/+14 | |
| Support default-body trait functions with return-position `impl Trait` in traits Introduce a new `Trait` candidate kind for the `ImplTraitInTrait` projection candidate, which just projects an RPITIT down to its opaque type form. This is a hack until we lower RPITITs to regular associated types, after which we will need to rework how these default bodies are type-checked, so comments are left in a few places for us to clean up later. Fixes #101665 | ||||
