about summary refs log tree commit diff
path: root/src/doc/rustdoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-09-25 14:04:10 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-10-03 14:16:24 +0200
commitf9a65afb27e0093b56053f810952efcba3e718e5 (patch)
treea908bfa0397418647873cf690411d992987e484c /src/doc/rustdoc
parent6271a0a46dedd5eaf3eb26afb6ae536939496cd7 (diff)
downloadrust-f9a65afb27e0093b56053f810952efcba3e718e5.tar.gz
rust-f9a65afb27e0093b56053f810952efcba3e718e5.zip
Make invalid_html_tags lint only run on nightly and being allowed by default
Diffstat (limited to 'src/doc/rustdoc')
-rw-r--r--src/doc/rustdoc/src/lints.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md
index d6ae665ba05..d8c0bab2259 100644
--- a/src/doc/rustdoc/src/lints.md
+++ b/src/doc/rustdoc/src/lints.md
@@ -253,10 +253,12 @@ typo mistakes for some common attributes.
 
 ## invalid_html_tags
 
-This lint **warns by default**. It detects unclosed or invalid HTML tags.
-For example:
+This lint is **allowed by default** and is **nightly-only**. It detects unclosed
+or invalid HTML tags. For example:
 
 ```rust
+#![warn(invalid_html_tags)]
+
 /// <h1>
 /// </script>
 pub fn foo() {}