diff options
Diffstat (limited to 'tests/ui/issues/issue-22289.rs')
-rw-r--r-- | tests/ui/issues/issue-22289.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-22289.rs b/tests/ui/issues/issue-22289.rs new file mode 100644 index 000000000..e1b3dfe5b --- /dev/null +++ b/tests/ui/issues/issue-22289.rs @@ -0,0 +1,3 @@ +fn main() { + 0 as &dyn std::any::Any; //~ ERROR non-primitive cast +} |