Implement new effects desugaring - #120639
Conversation
|
r? @oli-obk (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
| None => {} | ||
| } | ||
|
|
||
| // effects desugared associated types have no bounds. |
There was a problem hiding this comment.
Could feed this query.
Also: don't we need a where Self: Sized bound to avoid breaking all dyn Trait for now?
There was a problem hiding this comment.
assoc types don't break object safety (we'd just need to make it default to Runtime)
what breaks object safety would probably be the const host: bool that we now insert onto each method.
|
☔ The latest upstream changes (presumably #120392) made this pull request unmergeable. Please resolve the merge conflicts. |
0781e50 to
02e547e
Compare
This comment has been minimized.
This comment has been minimized.
e6fa893 to
532300c
Compare
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #120991) made this pull request unmergeable. Please resolve the merge conflicts. |
532300c to
d42b128
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This PR changes @bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
|
@bors try |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
|
@bors try @rust-timer queue |
|
Finished benchmarking commit (ba1d7f4): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary -0.1%, secondary 3.4%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary -8.2%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (primary 0.1%, secondary 0.4%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 697.982s -> 695.844s (-0.31%) |
|
Opened #127144 as an attempt to fix the performance regression |
|
Visiting for weekly rustc perf triage.
|
cc @rust-lang/project-const-traits.
Notes for the new desugaring: https://hackmd.io/@beef/HJyX7wF70
T: Trto desugar intoT: Tr, T::Effects: Compat<true>type Assoc: ~const Trandtype Assoc<T: ~const Tr>Fixes #119717
Fixes #123664
Fixes #124857
Fixes #126148