1
1
error[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
3
3
|
4
4
LL | struct GenericAssocMethod<T>(T);
5
5
| ---------------------------- method `self_ty_ref_hello` not found for this struct
@@ -18,7 +18,7 @@ LL | fn self_ty_ref_hello(_: &Self) {}
18
18
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19
19
20
20
error[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
22
22
|
23
23
LL | struct GenericAssocMethod<T>(T);
24
24
| ---------------------------- method `self_ty_hello` not found for this struct
@@ -37,7 +37,7 @@ LL | fn self_ty_hello(_: Self) {}
37
37
| ^^^^^^^^^^^^^^^^^^^^^^^^^
38
38
39
39
error[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
41
41
|
42
42
LL | struct GenericAssocMethod<T>(T);
43
43
| ---------------------------- method `default_hello` not found for this struct
@@ -56,7 +56,7 @@ LL | fn default_hello() {}
56
56
| ^^^^^^^^^^^^^^^^^^
57
57
58
58
error[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
60
60
|
61
61
LL | struct GenericAssocMethod<T>(T);
62
62
| ---------------------------- method `self_ty_ref_hello` not found for this struct
@@ -75,7 +75,7 @@ LL | fn self_ty_ref_hello(_: &Self) {}
75
75
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76
76
77
77
error[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
79
79
|
80
80
LL | struct GenericAssocMethod<T>(T);
81
81
| ---------------------------- method `self_ty_hello` not found for this struct
0 commit comments