diff options
Diffstat (limited to 'src/test/ui/resolve/issue-33876.rs')
-rw-r--r-- | src/test/ui/resolve/issue-33876.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/ui/resolve/issue-33876.rs b/src/test/ui/resolve/issue-33876.rs deleted file mode 100644 index e233ec631..000000000 --- a/src/test/ui/resolve/issue-33876.rs +++ /dev/null @@ -1,12 +0,0 @@ -use std::any::Any; - -struct Foo; - -trait Bar {} - -impl Bar for Foo {} - -fn main() { - let any: &dyn Any = &Bar; //~ ERROR expected value, found trait `Bar` - if any.is::<u32>() { println!("u32"); } -} |