11error[E0599]: no method named `self_ty_ref_hello` found for struct `GenericAssocMethod<{integer}>` in the current scope
2- --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:17 :7
2+ --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:14 :7
33 |
44LL | struct GenericAssocMethod<T>(T);
55 | ---------------------------- method `self_ty_ref_hello` not found for this struct
@@ -18,7 +18,7 @@ LL | fn self_ty_ref_hello(_: &Self) {}
1818 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919
2020error[E0599]: no method named `self_ty_hello` found for struct `GenericAssocMethod<{integer}>` in the current scope
21- --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:19 :7
21+ --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:16 :7
2222 |
2323LL | struct GenericAssocMethod<T>(T);
2424 | ---------------------------- method `self_ty_hello` not found for this struct
@@ -37,7 +37,7 @@ LL | fn self_ty_hello(_: Self) {}
3737 | ^^^^^^^^^^^^^^^^^^^^^^^^^
3838
3939error[E0599]: no method named `default_hello` found for struct `GenericAssocMethod<i32>` in the current scope
40- --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:23 :7
40+ --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:20 :7
4141 |
4242LL | struct GenericAssocMethod<T>(T);
4343 | ---------------------------- method `default_hello` not found for this struct
@@ -56,7 +56,7 @@ LL | fn default_hello() {}
5656 | ^^^^^^^^^^^^^^^^^^
5757
5858error[E0599]: no method named `self_ty_ref_hello` found for struct `GenericAssocMethod<i32>` in the current scope
59- --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:25 :7
59+ --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:22 :7
6060 |
6161LL | struct GenericAssocMethod<T>(T);
6262 | ---------------------------- method `self_ty_ref_hello` not found for this struct
@@ -75,7 +75,7 @@ LL | fn self_ty_ref_hello(_: &Self) {}
7575 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7676
7777error[E0599]: no method named `self_ty_hello` found for struct `GenericAssocMethod<i32>` in the current scope
78- --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:27 :7
78+ --> $DIR/suggest-assoc-fn-call-with-turbofish.rs:24 :7
7979 |
8080LL | struct GenericAssocMethod<T>(T);
8181 | ---------------------------- method `self_ty_hello` not found for this struct
0 commit comments