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
$ rustc --crate-type lib --emit metadata -Aclippy::foo t.rs
error[E0602]: unknown lint: `clippy::foo`
|
= note: requested on the command line with `-A clippy::foo`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0602`.
It should ignore unknown options consistent with directives in source code.
The current behaviour means that one can't share the same command line when invoking rustc vs clippy-driver.
fmease
added
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
and removed
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
labels
Dec 21, 2024
In code, rustc will ignore:
But it fails with:
It should ignore unknown options consistent with directives in source code.
The current behaviour means that one can't share the same command line when invoking
rustc
vsclippy-driver
.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: