]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-return.rs
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
[rust.git] / src / test / ui / borrowck / borrowck-return.rs
1 fn f() -> isize {
2     let x: isize;
3     return x; //~ ERROR use of possibly-uninitialized variable: `x`
4 }
5
6 fn main() { f(); }