diff options
Diffstat (limited to 'src/test/ui/issues/issue-6318.rs')
-rw-r--r-- | src/test/ui/issues/issue-6318.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/issues/issue-6318.rs b/src/test/ui/issues/issue-6318.rs deleted file mode 100644 index e5f245f6f..000000000 --- a/src/test/ui/issues/issue-6318.rs +++ /dev/null @@ -1,20 +0,0 @@ -// run-pass -// pretty-expanded FIXME #23616 - -pub enum Thing { - A(Box<dyn Foo+'static>) -} - -pub trait Foo { - fn dummy(&self) { } -} - -pub struct Struct; - -impl Foo for Struct {} - -pub fn main() { - match Thing::A(Box::new(Struct) as Box<dyn Foo + 'static>) { - Thing::A(_a) => 0, - }; -} |