File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
compiler/rustc_lint_defs/src Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3339,11 +3339,14 @@ declare_lint! {
33393339 ///
33403340 /// ### Explanation
33413341 ///
3342- /// This lint is only active when `--check-cfg` arguments are being passed
3343- /// to the compiler and triggers whenever an unexpected condition name or value is used.
3342+ /// This lint is only active when [`--check-cfg`][check-cfg] arguments are being
3343+ /// passed to the compiler and triggers whenever an unexpected condition name or value is
3344+ /// used.
3345+ ///
3346+ /// See the [Checking Conditional Configurations][check-cfg] section for more
3347+ /// details.
33443348 ///
3345- /// The known condition include names or values passed in `--check-cfg`, and some
3346- /// well-knows names and values built into the compiler.
3349+ /// [check-cfg]: https://doc.rust-lang.org/nightly/rustc/check-cfg.html
33473350 pub UNEXPECTED_CFGS ,
33483351 Warn ,
33493352 "detects unexpected names and values in `#[cfg]` conditions" ,
You can’t perform that action at this time.
0 commit comments