Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
async-await
/
issue-66312.rs
blob: 9224971ecb123210b57620e5c583352d76047e2a [
file
] [
log
] [
blame
]
// edition:2018
trait
Test
<
T
>
{
fn
is_some
(
self
:
T
);
//~ ERROR invalid `self` parameter type
}
async
fn
f
()
{
let
x
=
Some
(
2
);
if
x
.
is_some
()
{
println
!(
"Some"
);
}
}
fn
main
()
{}