summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0585.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0585.rs')
-rw-r--r--tests/ui/error-codes/E0585.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0585.rs b/tests/ui/error-codes/E0585.rs
new file mode 100644
index 000000000..890b77b53
--- /dev/null
+++ b/tests/ui/error-codes/E0585.rs
@@ -0,0 +1,4 @@
+fn main() {
+ /// Hello! I'm useless...
+ //~^ ERROR E0585
+}