semicolon_if_nothing_returned
on an attribute macro
#12123
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Uh oh!
There was an error while loading. Please reload this page.
Summary
Clippy suggests to add a semicolon after the
pollster::main
attribute macro. Interestingly, it doesn't trigger when the function is written on a single line.Lint Name
semicolon_if_nothing_returned
Reproducer
I tried this code:
I saw this happen:
Version
Additional Labels
I-suggestion-causes-error
T-macros
The text was updated successfully, but these errors were encountered: