]> git.lizzy.rs Git - rust.git/commitdiff
stabilize lint handling in rustdoc
authorQuietMisdreavus <grey@quietmisdreavus.net>
Fri, 13 Jul 2018 20:45:21 +0000 (15:45 -0500)
committerQuietMisdreavus <grey@quietmisdreavus.net>
Fri, 13 Jul 2018 20:45:21 +0000 (15:45 -0500)
src/librustdoc/lib.rs

index 3e26ed2b97c23c893bb05f1f0857076a2e230c7f..7421325a7f322a024d5fa009fb980b945ec4447a 100644 (file)
@@ -309,19 +309,19 @@ pub fn opts() -> Vec<RustcOptGroup> {
                        "disable-minification",
                        "Disable minification applied on JS files")
         }),
-        unstable("warn", |o| {
+        stable("warn", |o| {
             o.optmulti("W", "warn", "Set lint warnings", "OPT")
         }),
-        unstable("allow", |o| {
+        stable("allow", |o| {
             o.optmulti("A", "allow", "Set lint allowed", "OPT")
         }),
-        unstable("deny", |o| {
+        stable("deny", |o| {
             o.optmulti("D", "deny", "Set lint denied", "OPT")
         }),
-        unstable("forbid", |o| {
+        stable("forbid", |o| {
             o.optmulti("F", "forbid", "Set lint forbidden", "OPT")
         }),
-        unstable("cap-lints", |o| {
+        stable("cap-lints", |o| {
             o.optmulti(
                 "",
                 "cap-lints",