summaryrefslogtreecommitdiffstats
path: root/src/test/ui/did_you_mean/E0178.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/did_you_mean/E0178.rs')
-rw-r--r--src/test/ui/did_you_mean/E0178.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/did_you_mean/E0178.rs b/src/test/ui/did_you_mean/E0178.rs
deleted file mode 100644
index 095df640c..000000000
--- a/src/test/ui/did_you_mean/E0178.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-#![allow(bare_trait_objects)]
-
-trait Foo {}
-
-struct Bar<'a> {
- w: &'a Foo + Copy, //~ ERROR expected a path
- x: &'a Foo + 'a, //~ ERROR expected a path
- y: &'a mut Foo + 'a, //~ ERROR expected a path
- z: fn() -> Foo + 'a, //~ ERROR expected a path
-}
-
-fn main() {
-}