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