-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Improve macro hygiene #1633
Copy link
Copy link
Closed
Labels
A-yew-macroArea: The yew-macro crateArea: The yew-macro cratemacroIssues relating to our procedural or declarative macrosIssues relating to our procedural or declarative macros
Milestone
Metadata
Metadata
Assignees
Labels
A-yew-macroArea: The yew-macro crateArea: The yew-macro cratemacroIssues relating to our procedural or declarative macrosIssues relating to our procedural or declarative macros
Type
Fields
Give feedbackNo fields configured for issues without a type.
I keep running into places where Yew's macros aren't as hygienic as they could be. Especially now that the MSRV is 1.45.0 (which brings a few more macro features like
mixed_site) it's time to do a full sweep and solve all the remaining issues:::std::primitive)Use a configurableyewcrate parameterSpan::mixed_site()for macro variables so they aren't available in user code#![no_implicit_prelude]#[doc(hidden)]to all structs (especially inderive_props)