about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-09-12 15:02:45 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-10 18:28:29 +0200
commit6add6a1e1e5681d8d80f48326795b734c7966518 (patch)
tree37d9b83e035643ed2af00fff6c829c6514a1e7e8
parent0265a3e93bf1b89d97cae113ed214954d5c35e22 (diff)
downloadrust-6add6a1e1e5681d8d80f48326795b734c7966518.tar.gz
rust-6add6a1e1e5681d8d80f48326795b734c7966518.zip
Change default lint level of INVALID_HTML_TAGS to warning
-rw-r--r--src/librustdoc/lint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/lint.rs b/src/librustdoc/lint.rs
index e76c19a61c5..3aad97bc296 100644
--- a/src/librustdoc/lint.rs
+++ b/src/librustdoc/lint.rs
@@ -148,7 +148,7 @@ declare_rustdoc_lint! {
     ///
     /// [rustdoc book]: ../../../rustdoc/lints.html#invalid_html_tags
     INVALID_HTML_TAGS,
-    Allow,
+    Warn,
     "detects invalid HTML tags in doc comments"
 }