]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gate-exhaustive-patterns.stderr
Auto merge of #50665 - alexcrichton:fix-single-item-path-warnings, r=oli-obk
[rust.git] / src / test / ui / feature-gate-exhaustive-patterns.stderr
1 error[E0005]: refutable pattern in local binding: `Err(_)` not covered
2   --> $DIR/feature-gate-exhaustive-patterns.rs:16:9
3    |
4 LL |     let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
5    |         ^^^^^^ pattern `Err(_)` not covered
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0005`.