diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-09-12 12:07:43 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-10-10 18:28:29 +0200 |
| commit | d9570e0510c87d4e7ba938005e506eb5cc7fc91b (patch) | |
| tree | a9a27a83cca2cf04dc2c856da682c48674a6073a | |
| parent | c23ed655eb1244cf0fb5d51d7bdb4e473b540e15 (diff) | |
| download | rust-d9570e0510c87d4e7ba938005e506eb5cc7fc91b.tar.gz rust-d9570e0510c87d4e7ba938005e506eb5cc7fc91b.zip | |
Stabilize rustdoc CHECK_INVALID_HTML_TAGS check
| -rw-r--r-- | src/librustdoc/passes/html_tags.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/librustdoc/passes/html_tags.rs b/src/librustdoc/passes/html_tags.rs index 694b03161d9..67fc71665cc 100644 --- a/src/librustdoc/passes/html_tags.rs +++ b/src/librustdoc/passes/html_tags.rs @@ -22,10 +22,8 @@ struct InvalidHtmlTagsLinter<'a, 'tcx> { } pub(crate) fn check_invalid_html_tags(krate: Crate, cx: &mut DocContext<'_>) -> Crate { - if cx.tcx.sess.is_nightly_build() { - let mut coll = InvalidHtmlTagsLinter { cx }; - coll.visit_crate(&krate); - } + let mut coll = InvalidHtmlTagsLinter { cx }; + coll.visit_crate(&krate); krate } |
