]> git.lizzy.rs Git - rust.git/blob - tests/ui/borrowck/borrowck-return.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / borrowck / borrowck-return.rs
1 fn f() -> isize {
2     let x: isize;
3     return x; //~ ERROR E0381
4 }
5
6 fn main() { f(); }