Repository navigation
Improve proc macro attribute diagnostics - #106407
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @oli-obk (or someone else) soon. Please see the contribution instructions for more information. |
|
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
There was a problem hiding this comment.
It's not generally ok to normalize a type after skipping its binders.
You should liberate the function signature of its binder first: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html#method.liberate_late_bound_regions
There was a problem hiding this comment.
Then you can normalize the whole signature together, rather than normalizing types per argument below.
commented
Jan 9, 2023
commented
Jan 18, 2023
|
This is good for now I guess, would prefer if we used real inference but oh well! @bors r+ |
commented
Jan 18, 2023
commented
Jan 18, 2023
|
@bors r- proc macro tests need to be disabled on platforms that don't support them.. |
commented
Jan 19, 2023
|
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
commented
Jan 22, 2023
|
@bors r+ |
Closes #102923