2023-03-16 22:14:27 -05:00
|
|
|
// edition: 2021
|
2023-09-30 14:29:41 -05:00
|
|
|
// run-rustfix
|
|
|
|
|
|
|
|
#![allow(unused)]
|
2023-03-16 22:14:27 -05:00
|
|
|
|
|
|
|
// 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() {}
|