Next steps for FnDef binder changes (instantiate most FnDef binders) - #159403
Next steps for FnDef binder changes (instantiate most FnDef binders)#159403addiesh wants to merge 41 commits into
Conversation
|
Thanks for the pull request, and welcome! The Rust Project is excited to review your changes, and you should hear from @oli-obk (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
014b214 to
d780036
Compare
This comment has been minimized.
This comment has been minimized.
what happened during the rebase??? lemme rollback and try see what broke |
d780036 to
6e740ba
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
330681e to
83e428c
Compare
This comment has been minimized.
This comment has been minimized.
83e428c to
9fb9767
Compare
This comment has been minimized.
This comment has been minimized.
9fb9767 to
3920a9e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5373d53 to
f118249
Compare
This comment has been minimized.
This comment has been minimized.
f118249 to
6aeb29e
Compare
This comment has been minimized.
This comment has been minimized.
6aeb29e to
ac8e8e5
Compare
Coercing the fn item `bar` to a fn pointer while `Foo::value` holds the
associated-type projection `<<T as Func>::Ret as Id>::Assoc` used to ICE
during normalization ("maybe try to call `try_normalize_erasing_regions`
instead"). It now reports the ordinary `u32: Id` trait-bound error instead
of crashing.
The carets should ideally point to the path, not the entire attribute, but that's hard to achieve with the current code structure.
The carets already point to just the attribute path, which is what we want.
I'm updating the docs to point to lang-docs instead of just myself.
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes occurred in compiler/rustc_passes/src/check_attr.rs cc @jdonszelmann, @JonathanBrouwer
Some changes occurred in coverage instrumentation. cc @Zalathar Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer These commits modify the If this was unintentional then you should revert the changes before this PR is merged.
cc @rust-lang/miri Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a, @makai410 Some changes occurred to the CTFE machinery The parser was modified, potentially altering the grammar of (stable) Rust cc @fmease
Some changes occurred in GUI tests. Some changes occurred to diagnostic attributes. cc @mejrs changes to the core type system cc @lcnr This PR modifies If appropriate, please update Some changes occurred in cc @BoxyUwU Some changes occurred in compiler/rustc_hir/src/attrs |
View all comments
This change is a part of the ongoing effort to clean up binder/turbofishing behavior in the compiler (#156581).
This PR instantiates binders that were previously created via
ty::Binder::dummy()with meaningfully bound vars.r? oli-obk