Debian Codegraph @

gcc/testsuite/rust/compile/if-without-else.rs

raw
1 fn foo(pred: bool) -> u8 {
2 if pred { // { dg-error "mismatched types" }
3 1
4 }
5 3
6 }
7
8 fn main(){
9 }