Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
suggestions
/
suggest-ret-on-async-w-late.fixed
blob: 8945697a646c2dbfefa3238a92018721db70eb9e [
file
] [
log
] [
blame
] [
edit
]
//@ 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
)
->
bool
{
true
//~^ ERROR mismatched types
}
fn main
()
{}