]> git.lizzy.rs Git - rust.git/blob - src/test/ui/try-block/try-block-opt-init.stderr
Rollup merge of #88794 - sunfishcode:sunfishcode/try-clone, r=joshtriplett
[rust.git] / src / test / ui / try-block / try-block-opt-init.stderr
1 error[E0381]: borrow of possibly-uninitialized variable: `cfg_res`
2   --> $DIR/try-block-opt-init.rs:15:5
3    |
4 LL |     assert_eq!(cfg_res, 5);
5    |     ^^^^^^^^^^^^^^^^^^^^^^ use of possibly-uninitialized `cfg_res`
6    |
7    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0381`.