File tree 1 file changed +7
-4
lines changed
compiler/rustc_lint_defs/src
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3339,11 +3339,14 @@ declare_lint! {
3339
3339
///
3340
3340
/// ### Explanation
3341
3341
///
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.
3344
3348
///
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
3347
3350
pub UNEXPECTED_CFGS ,
3348
3351
Warn ,
3349
3352
"detects unexpected names and values in `#[cfg]` conditions" ,
You can’t perform that action at this time.
0 commit comments