rust/src/test/ui/try-block/try-block-opt-init.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
449 B
Plaintext
Raw Normal View History

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
|
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`
|
= note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0381`.