Sign in
android
/
toolchain
/
rustc
/
refs/heads/rust-1.73.0
/
.
/
tests
/
ui
/
impl-trait
/
in-trait
/
default-body-type-err-2.rs
blob: 45ae2b8ad3a69c83a7ae23660dbc2e69e63518c8 [
file
] [
log
] [
blame
]
// edition:2021
#![
allow
(
incomplete_features
)]
#![
feature
(
async_fn_in_trait
)]
pub
trait
Foo
{
async
fn
woopsie_async
(&
self
)
->
String
{
42
//~^ ERROR mismatched types
}
}
fn
main
()
{}