about summary refs log tree commit diff
path: root/tests/rustdoc-ui/z-help.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/z-help.rs')
-rw-r--r--tests/rustdoc-ui/z-help.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/z-help.rs b/tests/rustdoc-ui/z-help.rs
new file mode 100644
index 00000000000..c7cf841b937
--- /dev/null
+++ b/tests/rustdoc-ui/z-help.rs
@@ -0,0 +1,6 @@
+// check-pass
+// compile-flags: -Zhelp
+// check-stdout
+// regex-error-pattern: -Z\s+self-profile
+
+pub struct Foo;