blob: 1893dc716bedc97116b15142663b65177193a5bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
fn main() {
let _: usize = ()
//~^ ERROR mismatched types
let _ = 3;
//~^ ERROR expected one of
}
fn foo() -> usize {
let _: usize = ()
//~^ ERROR mismatched types
return 3;
//~^ ERROR expected one of
}
|