mirror of https://github.com/rust-lang/rust
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
error: mismatched types
|
|
--> $DIR/typeck.rs:25:9
|
|
|
|
|
LL | !,
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `()`
|
|
|
|
error: mismatched types
|
|
--> $DIR/typeck.rs:29:9
|
|
|
|
|
LL | !,
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `(i32, bool)`
|
|
|
|
error: mismatched types
|
|
--> $DIR/typeck.rs:33:13
|
|
|
|
|
LL | (_, !),
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `bool`
|
|
|
|
error: mismatched types
|
|
--> $DIR/typeck.rs:38:14
|
|
|
|
|
LL | Some(!),
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `i32`
|
|
|
|
error: mismatched types
|
|
--> $DIR/typeck.rs:45:9
|
|
|
|
|
LL | !,
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `()`
|
|
|
|
error: mismatched types
|
|
--> $DIR/typeck.rs:52:9
|
|
|
|
|
LL | !,
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `Option<Void>`
|
|
|
|
error: mismatched types
|
|
--> $DIR/typeck.rs:57:9
|
|
|
|
|
LL | !,
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `[Void]`
|
|
|
|
error: mismatched types
|
|
--> $DIR/typeck.rs:63:9
|
|
|
|
|
LL | !,
|
|
| ^ a never pattern must be used on an uninhabited type
|
|
|
|
|
= note: the matched value is of type `Option<&Void>`
|
|
|
|
error: aborting due to 8 previous errors
|
|
|