| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-05-02 | Use less rustc_type_ir in the compiler codebase | Romain Perier | -1/+1 | |
| This commit does the following: - Replaces use of rustc_type_ir by rustc_middle in rustc_infer. - The DelayedMap type is exposed by rustc_middle so everything can be accessed through rustc_middle in a coherent manner. - API-layer traits, like InferCtxtLike, Interner or inherent::* must be accessed via rustc_type_ir, not rustc_middle::ty. For this reason these are not reexported by rustc_middle::ty. - Replaces use of ty::Interner by rustc_type_ir::Interner in rustc_trait_selection | ||||
| 2025-01-18 | Get rid of `ToPolyTraitRef` | Michael Goulet | -3/+3 | |
| 2024-12-18 | Re-export more `rustc_span::symbol` things from `rustc_span`. | Nicholas Nethercote | -2/+1 | |
| `rustc_span::symbol` defines some things that are re-exported from `rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some closely related things such as `Ident` and `kw`. So you can do `use rustc_span::{Symbol, sym}` but you have to do `use rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good reason. This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`, and changes many `rustc_span::symbol::` qualifiers in `compiler/` to `rustc_span::`. This is a 200+ net line of code reduction, mostly because many files with two `use rustc_span` items can be reduced to one. | ||||
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -1/+1 | |
| 2024-08-29 | Stop using ty::GenericPredicates for non-predicates_of queries | Michael Goulet | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -3/+3 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-07-07 | Uplift elaboration | Michael Goulet | -345/+4 | |
| 2024-07-06 | Rollup merge of #127386 - compiler-errors:uplift-outlives-components, r=lcnr | Michael Goulet | -1/+1 | |
| Uplift outlives components to `rustc_type_ir` We need this to uplift `push_outlives_components`, since the elaborator uses `push_outlives_components` to elaborate type outlives obligations and I want to uplift elaboration. This ends up reworking and inlining a fair portion of the `GenericArg::walk_shallow` function, whose only callsite was this one. I believe I got the logic correct, but may be worthwhile to look at it closely just in case. Unfortunately github was too dumb to understand that this is a rename + change -- I could also rework the git history to split the "copy the file over" part from the actual logical changes if that makes this easier to review. r? lcnr | ||||
| 2024-07-06 | Import via rustc_type_ir::outlives | Michael Goulet | -1/+1 | |
| We could use rustc_middle::ty::outlives I guess? | ||||
| 2024-07-05 | Split out transitive_bounds_that_define_assoc_item | Michael Goulet | -14/+25 | |
| 2024-07-05 | Supertrait elaboration doesn't need to use Predicates | Michael Goulet | -5/+5 | |
| 2024-06-27 | Make queries more explicit | Michael Goulet | -4/+4 | |
| 2024-06-12 | Stop passing traitref/traitpredicate by ref | Michael Goulet | -2/+1 | |
| 2024-05-17 | to_opt_poly_X_pred -> as_X_clause | Michael Goulet | -1/+1 | |
| 2024-05-16 | Make P parameter explicit | Michael Goulet | -3/+1 | |
| 2024-05-16 | Rename ToPredicate for Upcast | Michael Goulet | -5/+5 | |
| 2024-05-10 | More rename fallout | Michael Goulet | -1/+1 | |
| 2024-05-10 | Rename some ObligationCauseCode variants | Michael Goulet | -8/+6 | |
| 2024-05-10 | Remove glob imports for ObligationCauseCode | Michael Goulet | -7/+9 | |
| 2024-03-22 | Use != Positive rather than == Negative | Michael Goulet | -1/+1 | |
| Feels more complete, and for ImplPolarity has the side-effect of making sure we also handle reservation impls correctly | ||||
| 2024-03-22 | Split out ImplPolarity and PredicatePolarity | Michael Goulet | -1/+1 | |
| 2024-02-12 | Dejargnonize subst | Shoyu Vanilla | -1/+2 | |
| 2023-12-07 | add unused `NormalizesTo` predicate | lcnr | -44/+26 | |
| 2023-11-21 | Remove ClosureKind predicate kind | Michael Goulet | -3/+0 | |
| 2023-11-19 | Make regionck care about placeholders in outlives components | Michael Goulet | -0/+5 | |
| 2023-11-13 | rename `ReLateBound` to `ReBound` | lcnr | -2/+2 | |
| other changes: - `Region::new_late_bound` -> `Region::new_bound` - `Region::is_late_bound` -> `Region::is_bound` | ||||
| 2023-10-18 | Make sure that non-pretty-printing usages are using the correct elaborator | Michael Goulet | -2/+2 | |
| 2023-10-18 | Simplify transitive_bounds_that_define_assoc_item | Michael Goulet | -33/+28 | |
| 2023-08-02 | Remove constness from `TraitPredicate` | Deadbeef | -5/+1 | |
| 2023-07-19 | Document `PredicateSet::insert` | Maybe Waffle | -0/+7 | |
| I always forget what the `bool` means :/ | ||||
| 2023-07-05 | Move `TyCtxt::mk_x` to `Ty::new_x` where applicable | Boxy | -2/+2 | |
| 2023-07-03 | remove TypeWellFormedFromEnv | Michael Goulet | -3/+0 | |
| 2023-06-29 | Make the Elaboratable trait take clauses | Michael Goulet | -40/+42 | |
| 2023-06-26 | TypeWellFormedInEnv | Michael Goulet | -1/+1 | |
| 2023-06-26 | Migrate predicates_of and caller_bounds to Clause | Michael Goulet | -2/+3 | |
| 2023-06-22 | Expect clause more | Michael Goulet | -4/+4 | |
| 2023-06-22 | Migrate item_bounds to ty::Clause | Michael Goulet | -0/+20 | |
| 2023-06-19 | Fully fledged Clause type | Michael Goulet | -0/+20 | |
| 2023-06-19 | s/Clause/ClauseKind | Michael Goulet | -10/+10 | |
| 2023-06-17 | Move ConstEvaluatable to Clause | Michael Goulet | -1/+1 | |
| 2023-06-17 | Move WF goal to clause | Michael Goulet | -1/+1 | |
| 2023-05-07 | Auto merge of #111161 - compiler-errors:rtn-super, r=cjgillot | bors | -4/+4 | |
| Support return-type bounds on associated methods from supertraits Support `T: Trait<method(): Bound>` when `method` comes from a supertrait, aligning it with the behavior of associated type bounds (both equality and trait bounds). The only wrinkle is that I have to extend `super_predicates_that_define_assoc_type` to look for *all* items, not just `AssocKind::Ty`. This will also be needed to support `feature(associated_const_equality)` as well, which is subtly broken when it comes to supertraits, though this PR does not fix those yet. There's a slight chance there's a perf regression here, in which case I guess I could split it out into a separate query. | ||||
| 2023-05-03 | Rename things to reflect that they're not item specific | Michael Goulet | -4/+4 | |
| 2023-05-02 | Make negative trait bounds work with the old trait solver | Michael Goulet | -0/+4 | |
| 2023-04-11 | Allow the elaborator to only filter to real supertraits | Michael Goulet | -15/+26 | |
| 2023-04-11 | Split implied and super predicate queries | Michael Goulet | -1/+1 | |
| 2023-04-11 | Split super_predicates_that_define_assoc_type query from super_predicates_of | Michael Goulet | -4/+2 | |
| 2023-04-06 | Get rid of elaborate_trait_ref{s} too | Michael Goulet | -17/+7 | |
| 2023-04-06 | Make elaborator generic | Michael Goulet | -92/+117 | |
| 2023-03-26 | Don't elaborate non-obligations into obligations | Michael Goulet | -35/+43 | |
