lint hints should use attribute syntax, not command line syntax #6580
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
I see output like this:
warning: unnecessary
unsafeblock [-W unused-unsafe (default)]
.rustc is telling you the command line argument to control this warning, but command line arguments are not our preferred way of turning on warnings.
The text was updated successfully, but these errors were encountered: