2019-09-01 17:09:59 +00:00
|
|
|
error[E0381]: borrow of possibly-uninitialized variable: `cfg_res`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/try-block-opt-init.rs:15:5
|
2018-08-13 03:05:29 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | assert_eq!(cfg_res, 5);
|
2021-10-14 18:28:28 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ use of possibly-uninitialized `cfg_res`
|
2018-08-13 03:05:29 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-13 03:05:29 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0381`.
|