File tree 1 file changed +5
-4
lines changed
compiler/rustc_lint_defs/src
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3339,11 +3339,12 @@ 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.md) arguments are being
3343
+ /// passed to the compiler and triggers whenever an unexpected condition name or value is
3344
+ /// used.
3344
3345
///
3345
- /// The known condition include names or values passed in `-- check-cfg`, and some
3346
- /// well-knows names and values built into the compiler .
3346
+ /// See the [Checking conditional configurations](../../ check-cfg.md) section for more
3347
+ /// details .
3347
3348
pub UNEXPECTED_CFGS ,
3348
3349
Warn ,
3349
3350
"detects unexpected names and values in `#[cfg]` conditions" ,
You can’t perform that action at this time.
0 commit comments