-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
discuss/resolve fn { mod { (use) super::...; } }
and its interaction with derive patterns
#193
Labels
Comments
currently scheduled for 2023-02-15 |
pnkfelix
added
the
meeting-scheduled
Lang team design meeting that has a scheduled date
label
Feb 10, 2023
tmandry
removed
the
meeting-scheduled
Lang team design meeting that has a scheduled date
label
Apr 5, 2023
everytime I look at this I have to reload a bunch of context. Here is an attempt at an executive summary:
So then you hit upon the question: What is the right thing to do about this?
|
It is worth noting that there is potential overlap between the issues being explored here and the topics discussed in rust-lang/rfcs#3373 and rust-lang/rust#120363 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
There's a future-incompat lint,
proc_macro_derive_resolution_fallback
(rust-lang/rust#83583), which seemed like a slam dunk, but moving it to a hard error had unexpected repercussions due to a slight expressiveness limitation, "Paths involving 'super' don't work from within a function" (rust-lang/rust#64079).I want to meet to survey the solutions (I believe two have been proposed and I want to put forward at least a third) and evaluate whether to push aggressively to re-hard-error
proc_macro_derive_resolution_fallback
or if we want to make some language change first to better serve authors of derive macros.Background reading
pnkfelix will prepare a doc.
but in the meantime, there are the links in the description given above.
About this issue
This issue corresponds to a lang-team design meeting proposal. It corresponds to a possible topic of discussion that may be scheduled for deeper discussion during one of our design meetings.
The text was updated successfully, but these errors were encountered: