about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/test-hidden.stdout
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-04-22 14:50:56 -0400
committerJoshua Nelson <jyn514@gmail.com>2021-04-22 18:43:16 -0400
commitaf6c3201fc3d5ec2559836454ea4f43eec583fa2 (patch)
tree0efcf9486d76055591f41f53083487b2d887f268 /src/test/rustdoc-ui/test-hidden.stdout
parent25c15cdbe070f49d708f34750df2632e38bd4846 (diff)
rustdoc: Hide `#text` in doc-tests
Since `#![attr]` and `#[attr]` are the only valid syntax that start with `#`, we can just special case those two tokens.
Diffstat (limited to 'src/test/rustdoc-ui/test-hidden.stdout')
-rw-r--r--src/test/rustdoc-ui/test-hidden.stdout6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/test-hidden.stdout b/src/test/rustdoc-ui/test-hidden.stdout
new file mode 100644
index 00000000000..89d98d6d688
--- /dev/null
+++ b/src/test/rustdoc-ui/test-hidden.stdout
@@ -0,0 +1,6 @@
+
+running 1 test
+test $DIR/test-hidden.rs - main (line 6) ... ok
+
+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
+