blob: 2b70cdd524ee52e66a7a1cd274d718daf127bc31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//@ edition: 2021
//@ run-rustfix
#![allow(unused)]
// Make sure we don't ICE when suggesting a return type
// for an async fn that has late-bound vars...
async fn ice(_: &i32) {
true
//~^ ERROR mismatched types
}
fn main() {}
|