rust/src/test/ui/borrowck/borrowck-break-uninit-2.nll.stderr
2018-12-25 21:08:33 -07:00

10 lines
359 B
Plaintext

error[E0381]: borrow of possibly uninitialized variable: `x`
--> $DIR/borrowck-break-uninit-2.rs:9:20
|
LL | println!("{}", x); //~ ERROR use of possibly uninitialized variable: `x`
| ^ use of possibly uninitialized `x`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0381`.