File tree 1 file changed +9
-3
lines changed
compiler/rustc_lint_defs/src
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3462,9 +3462,15 @@ declare_lint! {
3462
3462
///
3463
3463
/// ### Explanation
3464
3464
///
3465
- /// Previously, there were very like checks being performed on `#[doc(..)]`
3466
- /// unlike the other attributes. It'll now catch all the issues that it
3467
- /// silently ignored previously.
3465
+ /// Previously, incorrect usage of the `#[doc(..)]` attribute was not
3466
+ /// being validated. Usually these should be rejected as a hard error,
3467
+ /// but this lint was introduced to avoid breaking any existing
3468
+ /// crates which included them.
3469
+ ///
3470
+ /// This is a [future-incompatible] lint to transition this to a hard
3471
+ /// error in the future. See [issue #82730] for more details.
3472
+ ///
3473
+ /// [issue #82730]: https://github.com/rust-lang/rust/issues/82730
3468
3474
pub INVALID_DOC_ATTRIBUTES ,
3469
3475
Warn ,
3470
3476
"detects invalid `#[doc(...)]` attributes" ,
You can’t perform that action at this time.
0 commit comments