]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3096-1.stderr
Rollup merge of #56796 - KrishnaSannasi:try_from_impl_change, r=shepmaster
[rust.git] / src / test / ui / issues / issue-3096-1.stderr
1 error[E0004]: non-exhaustive patterns: type `()` is non-empty
2   --> $DIR/issue-3096-1.rs:2:11
3    |
4 LL |     match () { } //~ ERROR non-exhaustive
5    |           ^^
6    |
7 help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8   --> $DIR/issue-3096-1.rs:2:11
9    |
10 LL |     match () { } //~ ERROR non-exhaustive
11    |           ^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0004`.