Skip to content
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

Open
pnkfelix opened this issue Jan 31, 2023 · 1 comment
Labels
meeting-proposal Proposal for a lang team design meeting T-lang

Comments

@pnkfelix
Copy link
Member

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.

@pnkfelix
Copy link
Member Author

currently scheduled for 2023-02-15

@pnkfelix pnkfelix added the meeting-scheduled Lang team design meeting that has a scheduled date label Feb 10, 2023
@tmandry tmandry removed the meeting-scheduled Lang team design meeting that has a scheduled date label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meeting-proposal Proposal for a lang team design meeting T-lang
Projects
Status: Needs triage
Development

No branches or pull requests

2 participants