summaryrefslogtreecommitdiffstats
path: root/src/test/ui/maybe-bounds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/maybe-bounds.rs')
-rw-r--r--src/test/ui/maybe-bounds.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/maybe-bounds.rs b/src/test/ui/maybe-bounds.rs
deleted file mode 100644
index 02ed45c65..000000000
--- a/src/test/ui/maybe-bounds.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-trait Tr: ?Sized {}
-//~^ ERROR `?Trait` is not permitted in supertraits
-
-type A1 = dyn Tr + (?Sized);
-//~^ ERROR `?Trait` is not permitted in trait object types
-type A2 = dyn for<'a> Tr + (?Sized);
-//~^ ERROR `?Trait` is not permitted in trait object types
-
-fn main() {}