mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
12 lines
203 B
Rust
12 lines
203 B
Rust
// edition: 2021
|
|
|
|
// 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() {}
|