]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-unresolved-one-arm.rs
Auto merge of #93432 - Kobzol:stable-hash-isize-hash-compression, r=the8472
[rust.git] / src / test / ui / match / match-unresolved-one-arm.rs
1 fn foo<T>() -> T { panic!("Rocks for my pillow") }
2
3 fn main() {
4     let x = match () { //~ ERROR type annotations needed
5         () => foo() // T here should be unresolved
6     };
7 }