Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
suggestions
/
suggest-ret-on-async-w-late.rs
blob: 5c8f185bd4b074ed87bcd1d45e6af88d5535e5f4 [
file
] [
log
] [
blame
]
// 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
()
{}