-
-
Notifications
You must be signed in to change notification settings - Fork 15k
variable in macro output incorrectly reported as unused #5718
Copy link
Copy link
Closed
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.A-syntaxextArea: Syntax extensionsArea: Syntax extensionsE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.P-lowLow priorityLow priority
Metadata
Metadata
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.A-syntaxextArea: Syntax extensionsArea: Syntax extensionsE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.P-lowLow priorityLow priority
Type
Fields
Give feedbackNo fields configured for issues without a type.
In the code here:
(taken from jack's servo repo.)
The compiler will complain that element is unused unless I prefix it with _, even though it is clearly used shortly after.