diff options
Diffstat (limited to 'src/test/ui/cast/issue-10991.rs')
-rw-r--r-- | src/test/ui/cast/issue-10991.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/ui/cast/issue-10991.rs b/src/test/ui/cast/issue-10991.rs deleted file mode 100644 index c36829fdf..000000000 --- a/src/test/ui/cast/issue-10991.rs +++ /dev/null @@ -1,4 +0,0 @@ -fn main() { - let nil = (); - let _t = nil as usize; //~ ERROR: non-primitive cast: `()` as `usize` -} |