summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/output-format-html-stable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/output-format-html-stable.rs')
-rw-r--r--tests/rustdoc-ui/output-format-html-stable.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/output-format-html-stable.rs b/tests/rustdoc-ui/output-format-html-stable.rs
new file mode 100644
index 000000000..fa0362640
--- /dev/null
+++ b/tests/rustdoc-ui/output-format-html-stable.rs
@@ -0,0 +1,4 @@
+// compile-flags: --output-format html
+// check-pass
+// This tests that `--output-format html` is accepted without `-Z unstable-options`,
+// since it has been stable since 1.0.