mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
5c462a32bd
They've been deprecated for four years. This commit includes the following changes. - It eliminates the `rustc_plugin_impl` crate. - It changes the language used for lints in `compiler/rustc_driver_impl/src/lib.rs` and `compiler/rustc_lint/src/context.rs`. External lints are now called "loaded" lints, rather than "plugins" to avoid confusion with the old plugins. This only has a tiny effect on the output of `-W help`. - E0457 and E0498 are no longer used. - E0463 is narrowed, now only relating to unfound crates, not plugins. - The `plugin` feature was moved from "active" to "removed". - It removes the entire plugins chapter from the unstable book. - It removes quite a few tests, mostly all of those in `tests/ui-fulldeps/plugin/`. Closes #29597.
25 lines
460 B
Plaintext
25 lines
460 B
Plaintext
|
|
Available lint options:
|
|
-W <foo> Warn about <foo>
|
|
-A <foo> Allow <foo>
|
|
-D <foo> Deny <foo>
|
|
-F <foo> Forbid <foo> (deny <foo> and all attempts to override)
|
|
|
|
|
|
Lint checks provided by rustc:
|
|
|
|
$NAMES $LEVELS $MEANINGS
|
|
|
|
Lint groups provided by rustc:
|
|
|
|
$NAMES $SUB_LINTS
|
|
|
|
Lint checks loaded by this crate:
|
|
|
|
$NAMES $LEVELS $MEANINGS
|
|
|
|
Lint groups loaded by this crate:
|
|
|
|
$NAMES $SUB_LINTS
|
|
|