]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/issue-13624.stderr
report the total number of errors on compilation failure
[rust.git] / src / test / ui / block-result / issue-13624.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-13624.rs:17:5
3    |
4 17 |     Enum::EnumStructVariant { x: 1, y: 2, z: 3 }
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found enum `a::Enum`
6    |
7    = note: expected type `()`
8               found type `a::Enum`
9
10 error[E0308]: mismatched types
11   --> $DIR/issue-13624.rs:32:9
12    |
13 32 |         a::Enum::EnumStructVariant { x, y, z } => {
14    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found enum `a::Enum`
15    |
16    = note: expected type `()`
17               found type `a::Enum`
18
19 error: aborting due to 2 previous errors
20