Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
suggestions
/
suggest-assoc-fn-call-with-turbofish.rs
blob: 2a829db538390e6178c170477bf08b498018b022 [
file
] [
log
] [
blame
]
struct
GenericAssocMethod
<
T
>(
T
);
impl
<
T
>
GenericAssocMethod
<
T
>
{
fn
default_hello
()
{}
}
fn
main
()
{
let
x
=
GenericAssocMethod
(
33i32
);
x
.
default_hello
();
//~^ ERROR no method named `default_hello` found
}