diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-while.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-while.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/borrowck/borrowck-while.rs b/src/test/ui/borrowck/borrowck-while.rs deleted file mode 100644 index f49a778eb..000000000 --- a/src/test/ui/borrowck/borrowck-while.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn f() -> isize { - let mut x: isize; - while 1 == 1 { x = 10; } - return x; //~ ERROR E0381 -} - -fn main() { f(); } |