You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nilscript opened this issue
Nov 9, 2019
· 1 comment
· Fixed by #8576
Labels
A-lintArea: New lintsE-hardCall for participation: This a hard problem and requires more experience or effort to work onE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.T-macrosType: Issues with macros and macro expansion
I suggest adding a lint for when a programmer makes a macro, imports something into said macro and forgets $ before crate keyword. Exporting macros across crates can be a hassel, atleast for me.
The text was updated successfully, but these errors were encountered:
flip1995
added
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
A-lint
Area: New lints
T-macros
Type: Issues with macros and macro expansion
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
and removed
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
labels
Nov 13, 2019
E-hard: It's really hard (maybe impossible) to determine if use statements refer to the current crate or some dependency inside a macro definition. So doing this right is really hard. E-medium: A basic implementation (nursery/restriction lint), which triggers on every use statement inside a macro is possible. Currently no lint exists, which checks macro definitions, though.
A-lintArea: New lintsE-hardCall for participation: This a hard problem and requires more experience or effort to work onE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.T-macrosType: Issues with macros and macro expansion
I suggest adding a lint for when a programmer makes a macro, imports something into said macro and forgets
$
beforecrate
keyword. Exporting macros across crates can be a hassel, atleast for me.The text was updated successfully, but these errors were encountered: