Conversation
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes occurred in src/tools/clippy cc @rust-lang/clippy This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino, @ouz-a |
|
This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino, @ouz-a Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
- `ReFree` -> `ReLateParam` - `ReEarlyBound` -> `ReEarlyParam`
1215a28 to
15f2156
Compare
This comment has been minimized.
This comment has been minimized.
| assert!(r_a.is_free()); | ||
| assert!(r_b.is_free()); | ||
| debug!("lub_param_regions(r_a={:?}, r_b={:?})", r_a, r_b); | ||
| assert!(r_a.is_late_or_early_param()); |
There was a problem hiding this comment.
would it be reasonable to just call this is_param() I feel like that wouldn't be a confusing name
| /// | ||
| /// FIXME(@lcnr): This can also store a `DefId`, similar to | ||
| /// `TypeVariableOriginKind::TypeParameterDefinition`. | ||
| RegionParameterDefinition(Span, Symbol), |
There was a problem hiding this comment.
is this used for late and early bound parameters?
There was a problem hiding this comment.
only early bound, copied he name from TypeVariableOriginKind
|
@bors r=BoxyUwU rollup=never p=1 |
This comment has been minimized.
This comment has been minimized.
finish `RegionKind` renaming second step of rust-lang/types-team#95 continues the work from rust-lang#117876. While working on this and I encountered a bunch of further cleanup which I'll either open a tracking issue for or will do in a separate PR: - rewrite the `RegionKind` docs, they still talk about `ReEmpty` and are generally out of date - rename `DescriptionCtx` to `DescriptionCtxt` - what is `CheckRegions::Bound`? - `collect_late_bound_regions` et al - `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased`? - `EraseEarlyRegions` visitor should be removed, feels duplicate r? `@BoxyUwU`
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
|
@bors p=1 r=BoxyUwU |
finish `RegionKind` renaming second step of rust-lang/types-team#95 continues the work from rust-lang#117876. While working on this and I encountered a bunch of further cleanup which I'll either open a tracking issue for or will do in a separate PR: - rewrite the `RegionKind` docs, they still talk about `ReEmpty` and are generally out of date - rename `DescriptionCtx` to `DescriptionCtxt` - what is `CheckRegions::Bound`? - `collect_late_bound_regions` et al - `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased`? - `EraseEarlyRegions` visitor should be removed, feels duplicate r? `@BoxyUwU`
|
💔 Test failed - checks-actions |
|
@bors retry |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (1500db7): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis 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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 673.093s -> 674.821s (0.26%) |
second step of rust-lang/types-team#95
continues the work from #117876. While working on this and I encountered a bunch of further cleanup which I'll either open a tracking issue for or will do in a separate PR:
RegionKinddocs, they still talk aboutReEmptyand are generally out of dateDescriptionCtxtoDescriptionCtxt(already inconsistent)CheckRegions::Bound?collect_late_bound_regionset alerase_late_bound_regions->instantiate_bound_regions_with_erased?EraseEarlyRegionsvisitor should be removed, feels duplicater? @BoxyUwU