Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
suggestions
/
suggest-assoc-fn-call-with-turbofish.rs
blob: ef4b38de9473272d78c489e6349319622673832e [
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 for type `GenericAssocMethod<i32>`
}