| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-16 | trait_sel: extend fast path with sized hierarchy | David Wood | -2/+9 | |
| Extend the fast path for `Sized` traits to include constness and `MetaSized`. | ||||
| 2025-06-09 | Apply nested goals certainty to InspectGoals for normalizes-to | Michael Goulet | -35/+64 | |
| 2025-06-08 | Auto merge of #142088 - compiler-errors:perf-universal-stall, r=lcnr | bors | -2/+4 | |
| Filter out universals and lifetimes from `stalled_vars` lol r? lcnr | ||||
| 2025-06-07 | Rollup merge of #142126 - compiler-errors:normalize-uv-via-relate, r=BoxyUwU | Guillaume Gomez | -70/+26 | |
| Treat normalizing consts like normalizing types in deeply normalize ...so that we don't end up putting a top-level normalizes-to goal in the fulfillment context, which ICEs. This basically just models the normalize-const code off of the normalize-ty code above it, which uses an alias-relate goal instead. Fixes rust-lang/rust#140571 r? lcnr | ||||
| 2025-06-07 | Auto merge of #141927 - compiler-errors:perf-select, r=lcnr | bors | -41/+70 | |
| Clear nested candidates in select if certainty is yes Proving these goals is redundant. | ||||
| 2025-06-07 | Unify normalization of terms in deeply normalize | Michael Goulet | -67/+22 | |
| 2025-06-06 | Treat normalizing consts like normalizing types in deeply normalize | Michael Goulet | -23/+24 | |
| 2025-06-06 | Filter out universals and lifetimes from stalled_vars | Michael Goulet | -2/+4 | |
| 2025-06-05 | Only instantiate impl args | Michael Goulet | -46/+70 | |
| 2025-06-05 | Clear nested candidates in select if certainty is yes | Michael Goulet | -1/+6 | |
| 2025-06-02 | Fast path for subtype and coercion goals | Michael Goulet | -0/+11 | |
| 2025-06-02 | Fast path for stalled obligations on self ty | Michael Goulet | -0/+10 | |
| 2025-05-29 | Tweak fast path trait handling | Michael Goulet | -23/+44 | |
| 2025-05-29 | Auto merge of #141581 - lcnr:fold-clauses, r=compiler-errors | bors | -5/+4 | |
| add additional `TypeFlags` fast paths Some crates, e.g. `diesel`, have items with a lot of where-clauses (more than 150). In these cases checking the `TypeFlags` of the whole `param_env` can be very beneficial. This adds `fn fold_clauses` to mirror the existing `fn visit_clauses` and then uses this in folders which fold `ParamEnv`s. Split out from rust-lang/rust#141451, depends on rust-lang/rust#141442. r? `@compiler-errors` | ||||
| 2025-05-27 | Rename unpack to kind | Michael Goulet | -2/+2 | |
| 2025-05-26 | Auto merge of #141605 - jieyouxu:rollup-3gjqh5l, r=jieyouxu | bors | -1/+1 | |
| Rollup of 10 pull requests Successful merges: - rust-lang/rust#140898 (minor improvements on running miri) - rust-lang/rust#141392 (Avoid obligation construction dance with query region constraints) - rust-lang/rust#141431 (Emit dummy open drop for unsafe binder) - rust-lang/rust#141433 (Properly analyze captures from unsafe binders) - rust-lang/rust#141439 (Deduplicate dyn compatibility violations due to coercion) - rust-lang/rust#141449 (further deduplicate ast visitor code) - rust-lang/rust#141513 (interpret: add allocation parameters to `AllocBytes`) - rust-lang/rust#141516 (speed up charsearcher for ascii chars) - rust-lang/rust#141526 (add a dedicated section for compiler environment variables in the unstable book) - rust-lang/rust#141550 (Fix `unused_braces` lint suggestion when encountering attributes) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2025-05-26 | add additional `TypeFlags` fast paths | lcnr | -5/+4 | |
| 2025-05-26 | Don't rerun goals if none of its vars have changed | Michael Goulet | -54/+89 | |
| 2025-05-26 | Rename | Michael Goulet | -1/+1 | |
| 2025-05-26 | Avoid obligation construction dance with query region constraints | Michael Goulet | -1/+1 | |
| 2025-05-25 | Comment for not using select_in_new_trait_solver | Michael Goulet | -0/+1 | |
| 2025-05-23 | yeet `CanonicalVarInfo` | lcnr | -3/+3 | |
| 2025-05-22 | Auto merge of #141397 - matthiaskrgr:rollup-l9uu6g6, r=matthiaskrgr | bors | -2/+2 | |
| Rollup of 8 pull requests Successful merges: - #141355 (ci: improve citool job db errors) - #141359 (Fix `FnOnce` impl for `AsyncFn`/`AsyncFnMut` self-borrowing closures in new solver) - #141362 (Normalize aliases to correct kind of error term) - #141377 (Remove unnecessary `is_empty` checks) - #141381 (try_cast_aligned: avoid bare int-to-ptr casts) - #141382 (ci: convert distcheck to free runner) - #141389 (ci: prepare aws access keys for migration) - #141390 (Don't allow `poly_select` in new solver) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2025-05-22 | Don't allow poly_select in new solver | Michael Goulet | -2/+2 | |
| 2025-05-18 | Fast path for sized pred | Michael Goulet | -0/+16 | |
| 2025-05-18 | Fast path for processing some obligations in the new solver | Michael Goulet | -3/+44 | |
| 2025-05-08 | Rollup merge of #140711 - compiler-errors:combine-maybes, r=lcnr | Matthias Krüger | -2/+8 | |
| Do not discard constraints on overflow if there was candidate ambiguity Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/201. There's a pretty chunky justification in the test. r? lcnr | ||||
| 2025-05-07 | opaque_type_storage to InferCtxtLike | lcnr | -47/+0 | |
| 2025-05-07 | Use MaybeCause::or to allow constraints from overflows if they are combined ↵ | Michael Goulet | -2/+8 | |
| with ambiguity | ||||
| 2025-05-06 | support duplicates in the opaque_types_storage | lcnr | -5/+32 | |
| 2025-05-02 | Use less rustc_type_ir in the compiler codebase | Romain Perier | -3/+3 | |
| 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-04-30 | Rollup merge of #140468 - BoxyUwU:normalization_confusings2, r=lcnr | Matthias Krüger | -25/+32 | |
| Minor tweaks to make some normalization (adjacent) code less confusing r? lcnr sorry for double ping lol | ||||
| 2025-04-30 | Use less rustc_type_ir in the compiler codebase | Romain Perier | -7/+6 | |
| This commit does the following: - Replaces use of rustc_type_ir by rustc_middle - Removes the rustc_type_ir dependency - The DelayedSet type is exposed by rustc_middle so everything can be accessed through rustc_middle in a coherent manner. | ||||
| 2025-04-29 | confusings | Boxy | -25/+32 | |
| 2025-04-26 | Rollup merge of #140320 - lcnr:wf-use-term, r=compiler-errors | Matthias Krüger | -9/+13 | |
| replace `GenericArg` with `Term` where applicable r? types | ||||
| 2025-04-26 | convert some `GenericArg` to `Term` | lcnr | -9/+13 | |
| 2025-04-25 | Track per-obligation recursion depth only if there is inference | Michael Goulet | -8/+15 | |
| 2025-04-23 | Auto merge of #138845 - compiler-errors:stall-generators, r=lcnr | bors | -43/+188 | |
| Properly stall coroutine witnesses in new solver TODO: write description r? lcnr | ||||
| 2025-04-23 | More | Michael Goulet | -30/+59 | |
| 2025-04-22 | Properly drain pending obligations for coroutines | Michael Goulet | -36/+120 | |
| 2025-04-22 | Collect and resolve ambiguous obligations from normalizing in writeback | Michael Goulet | -2/+34 | |
| 2025-04-22 | Use `is_lang_item` and `as_lang_item` instead of handrolling their logic | Oli Scherer | -3/+3 | |
| 2025-04-16 | Fix replacing supertrait aliases in ReplaceProjectionWith | Michael Goulet | -4/+6 | |
| 2025-04-10 | Deeply normalize obligations in BestObligation | Michael Goulet | -18/+33 | |
| 2025-04-10 | Simplify | Michael Goulet | -30/+22 | |
| 2025-04-09 | Report higher-ranked trait error when higher-ranked projection goal fails in ↵ | Michael Goulet | -3/+33 | |
| new solver | ||||
| 2025-04-03 | add `TypingMode::Borrowck` | lcnr | -0/+1 | |
| 2025-04-01 | simplify Interner opaque types API | lcnr | -18/+9 | |
| 2025-03-23 | Obligation::as_goal | Michael Goulet | -7/+7 | |
| 2025-03-15 | Fold visit into ty | Michael Goulet | -2/+1 | |
