]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-return.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[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(); }