summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-72410.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/traits/issue-72410.rs')
-rw-r--r--src/test/ui/traits/issue-72410.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/traits/issue-72410.rs b/src/test/ui/traits/issue-72410.rs
deleted file mode 100644
index c95f1dfdc..000000000
--- a/src/test/ui/traits/issue-72410.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-// Regression test for #72410, this should be used with debug assertion enabled.
-
-// should be fine
-pub trait Foo {
- fn map()
- where
- Self: Sized,
- for<'a> &'a mut [u8]: ;
-}
-
-// should fail
-pub trait Bar {
- fn map()
- where for<'a> &'a mut [dyn Bar]: ;
- //~^ ERROR: the trait `Bar` cannot be made into an object
-}
-
-fn main() {}