]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-uninit.rs
Rollup merge of #88090 - nbdd0121:inference, r=nikomatsakis
[rust.git] / src / test / ui / borrowck / borrowck-uninit.rs
1 fn foo(x: isize) { println!("{}", x); }
2
3 fn main() {
4     let x: isize;
5     foo(x); //~ ERROR use of possibly-uninitialized variable: `x`
6 }