diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-if-no-else.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-if-no-else.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/borrowck/borrowck-if-no-else.rs b/src/test/ui/borrowck/borrowck-if-no-else.rs deleted file mode 100644 index 534d771be..000000000 --- a/src/test/ui/borrowck/borrowck-if-no-else.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn foo(x: isize) { println!("{}", x); } - -fn main() { - let x: isize; if 1 > 2 { x = 10; } - foo(x); //~ ERROR E0381 -} |