| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-08-03 | Rework upcasting | Michael Goulet | -37/+88 | |
| 2023-08-03 | inline helper methods into `with_new_goal` | lcnr | -115/+80 | |
| 2023-08-03 | rewrite stack dependent overflow handling | lcnr | -173/+180 | |
| 2023-08-03 | handle overflow in the `EvalCtxt` separately | lcnr | -189/+156 | |
| 2023-08-03 | add `ensure_sufficient_stack` to the new solver | lcnr | -18/+21 | |
| 2023-08-03 | fix `make_ambiguous_response_no_constraints` | lcnr | -47/+41 | |
| we previously had incorrect universes in the query response. | ||||
| 2023-08-03 | avoid more `ty::Binder:dummy` | lcnr | -36/+16 | |
| 2023-08-02 | Remove constness from `TraitPredicate` | Deadbeef | -1/+0 | |
| 2023-08-02 | Rollup merge of #114314 - compiler-errors:sized-crit, r=lcnr | Matthias Krüger | -1/+1 | |
| Tweaks to `adt_sized_constraint` fixes a comment, but also some other nits. r? lcnr | ||||
| 2023-08-01 | Don't select infer -> dyn Trait | Michael Goulet | -0/+3 | |
| 2023-08-01 | Convert adt_sized_constraint to early-binder, use list | Michael Goulet | -1/+1 | |
| 2023-07-31 | Rollup merge of #114200 - compiler-errors:detect-tail-unsize-then-upcast, r=lcnr | Matthias Krüger | -5/+20 | |
| Detect trait upcasting through struct tail unsizing in new solver select Oops, we were able to hide trait upcasting behind a parent unsize goal that evaluated to `Certainty::Yes`. Let's do rematching for `Certainty::Yes` unsize goals with `BuiltinImplSource::Misc` sources (corresponding to all of the other unsize rules) to make sure we end up selecting any nested goals which may be satisfied via `BuiltinImplSource::TraitUpcasting` or `::TupleUnsizing`. r? ``@lcnr`` | ||||
| 2023-07-31 | Rollup merge of #114169 - lcnr:unsize, r=compiler-errors | Matthias Krüger | -218/+258 | |
| refactor builtin unsize handling, extend comments r? `@compiler-errors` | ||||
| 2023-07-29 | Detect trait upcasting through struct tail unsizing | Michael Goulet | -5/+20 | |
| 2023-07-29 | Bubble up nested goals from equation in predicates_for_object_candidate | Michael Goulet | -23/+24 | |
| 2023-07-28 | fix comment | lcnr | -2/+2 | |
| 2023-07-28 | refactor builtin unsize handling, extend comments | lcnr | -217/+257 | |
| 2023-07-28 | Auto merge of #114134 - fee1-dead-contrib:rm-constness-from-param-env, r=oli-obk | bors | -8/+5 | |
| Remove `constness` from `ParamEnv` This should be replaced by keyword generics/effects. cc #110395 r? `@oli-obk` | ||||
| 2023-07-27 | Remove `constness` from `ParamEnv` | Deadbeef | -8/+5 | |
| 2023-07-27 | Consider a goal as NOT changed if its response is identity modulo regions | Michael Goulet | -1/+1 | |
| 2023-07-27 | Revert "don't uniquify regions when canonicalizing" | Michael Goulet | -11/+14 | |
| This reverts commit 171f5414705194067557cd7b70bd680308b9cced. | ||||
| 2023-07-25 | Rollup merge of #113661 - oli-obk:tait_wtf, r=lcnr | Matthias Krüger | -0/+1 | |
| Double check that hidden types match the expected hidden type Fixes https://github.com/rust-lang/rust/issues/113278 specifically, but I left a TODO for where we should also add some hardening. It feels a bit like papering over the issue, but at least this way we don't get unsoundness, but just surprising errors. Errors will be improved and given spans before this PR lands. r? `@compiler-errors` `@lcnr` | ||||
| 2023-07-25 | Make everything builtin! | Michael Goulet | -264/+211 | |
| 2023-07-25 | Consolidate trait upcasting and unsize into one normalization | Michael Goulet | -197/+237 | |
| 2023-07-25 | Restore tuple unsizing feature gate | Michael Goulet | -0/+3 | |
| 2023-07-25 | Make sure to detect trait upcasting coercion even after normalization | Michael Goulet | -1/+7 | |
| 2023-07-25 | Normalize the RHS of an unsize goal | Michael Goulet | -67/+139 | |
| 2023-07-24 | Rollup merge of #113987 - compiler-errors:comments, r=lcnr | Matthias Krüger | -16/+64 | |
| Comment stuff in the new solver r? `@lcnr` | ||||
| 2023-07-24 | lcnr's suggestions | Michael Goulet | -4/+5 | |
| Co-authored-by: lcnr <rust@lcnr.de> | ||||
| 2023-07-23 | more clippy::style fixes: | Matthias Krüger | -2/+2 | |
| get_first single_char_add_str unnecessary_mut_passed manual_map manual_is_ascii_check | ||||
| 2023-07-23 | Comment stuff in the new solver | Michael Goulet | -16/+63 | |
| 2023-07-22 | Get rid of subst-relate incompleteness in new solver | Michael Goulet | -9/+12 | |
| 2023-07-21 | Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk" | David Tolnay | -14/+3 | |
| This reverts commit 557359f92512ca88b62a602ebda291f17a953002, reversing changes made to 1e6c09a803fd543a98bfbe1624d697a55300a786. | ||||
| 2023-07-21 | Auto merge of #113922 - matthiaskrgr:rollup-90cj2vv, r=matthiaskrgr | bors | -13/+12 | |
| Rollup of 4 pull requests Successful merges: - #113887 (new solver: add a separate cache for coherence) - #113910 (Add FnPtr ty to SMIR) - #113913 (error/E0691: include alignment in error message) - #113914 (rustc_target: drop duplicate code) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2023-07-21 | Double check that hidden types match the expected hidden type | Oli Scherer | -0/+1 | |
| 2023-07-21 | new solver: add a separate cache for coherence | lcnr | -13/+12 | |
| 2023-07-21 | Track ABI info. in `NaiveLayout`, and use it for `PointerLike` checks | Moulins | -3/+14 | |
| THis significantly complicates `NaiveLayout` logic, but is necessary to ensure that bounds like `NonNull<T>: PointerLike` hold in generic contexts. Also implement exact layout computation for structs. | ||||
| 2023-07-20 | update doc comments | lcnr | -10/+17 | |
| 2023-07-20 | review | lcnr | -4/+4 | |
| 2023-07-20 | re-add comment | lcnr | -0/+6 | |
| 2023-07-20 | assembly: only consider blanket impls once | lcnr | -68/+226 | |
| 2023-07-20 | XSimplifiedType to SimplifiedType::X | lcnr | -1/+1 | |
| 2023-07-17 | Rename arg_iter to iter_instantiated | Michael Goulet | -2/+3 | |
| 2023-07-16 | Check GAT, IAT, and weak type where clauses during projection | Michael Goulet | -6/+34 | |
| 2023-07-16 | Add support for inherent projections | Michael Goulet | -1/+44 | |
| 2023-07-15 | Rollup merge of #113625 - compiler-errors:structurally-norm-in-selection, r=lcnr | Matthias Krüger | -6/+33 | |
| Structurally normalize in selection We need to do this because of the fact that we're checking the `Ty::kind` on a type during selection, but goals passed into select are not necessarily normalized. Right now, we're (kinda) unnecessarily normalizing the RHS of a trait upcasting goal, which is broken for different reasons (#113393). But I'm waiting for this PR to land before discussing that one. r? `@lcnr` | ||||
| 2023-07-14 | Auto merge of #113471 - compiler-errors:new-solver-norm-escaping, r=lcnr | bors | -2/+16 | |
| Allow escaping bound vars during `normalize_erasing_regions` in new solver Add `AllowEscapingBoundVars` to `deeply_normalize`, and use it in the new solver in the `query_normalize` routine. Ideally, we'd make all `query_normalize` calls handle pass in `AllowEscapingBoundVars` individually, because really the only `query_normalize` call that needs `AllowEscapingBoundVars::Yes` is the one in `try_normalize_generic_arg_after_erasing_regions`, but I think that's kind of overkill. I am happy to be convinced otherwise, though. r? `@lcnr` | ||||
| 2023-07-14 | Structurally normalize in selection | Michael Goulet | -6/+33 | |
| 2023-07-14 | assertion, comment | Michael Goulet | -0/+4 | |
| 2023-07-14 | Allow escaping bound vars during normalize_erasing_regions in new solver | Michael Goulet | -2/+12 | |
