Introduce Unnormalized wrapper#155083
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Introduce `Unnormalized` wrapper
This comment has been minimized.
This comment has been minimized.
|
@bors try cancel |
|
Try build cancelled. Cancelled workflows: |
309b0de to
a616210
Compare
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Introduce `Unnormalized` wrapper
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (10d0ef4): comparison URL. Overall result: no relevant changes - no action neededBenchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. @bors rollup=never Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary -2.4%, secondary -6.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 492.281s -> 489.321s (-0.60%) |
3b64c2b to
5407a88
Compare
|
r? @lcnr |
|
@bors rollup=never |
Should I just squash or isolate the API change in one commit for this big PR? Also unsure why I can't reply to single inline review. If you missed it, |
This comment has been minimized.
This comment has been minimized.
whatever u prefer, as long as the "address review" commits are gone :3 |
|
r=me |
c894a60 to
a73a9c7
Compare
This comment has been minimized.
This comment has been minimized.
|
@bors r=lcnr |
This comment has been minimized.
This comment has been minimized.
a73a9c7 to
6279106
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
Increase priority to avoid repeated merge conflict. @bors r=lcnr p=1 |
View all comments
This is the first step of the eager normalization series.
This PR introduce an
Unnormalizedwrapper and make most normalization routines consume it. The purpose is to make normalization explicit.This PR contains no behavior change.
API changes are in the first two commit.
There're some normalization routines left untouched:
normalizein the type checker of borrowck: better do it together withfield.ty()returningUnnormalized.normalize_with_depth: only used inside the old solver. Can be done later.query_normalize: rarely used.The compiler errors are mostly fixed via
ast-grep, with exceptions handled manually.