summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs')
-rw-r--r--src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs b/src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs
deleted file mode 100644
index dcec379d4..000000000
--- a/src/test/rustdoc-ui/error-in-impl-trait/generic-argument.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-// check-pass
-trait ValidTrait {}
-
-/// This has docs
-pub fn f() -> impl ValidTrait {
- Vec::<DoesNotExist>::new()
-}