2018-08-08 07:28:26 -05:00
|
|
|
error[E0381]: use of possibly uninitialized variable: `x`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/borrowck-if-no-else.rs:5:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | foo(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`.
|