@@ -6,7 +6,7 @@ LL | call(foo);
6
6
| |
7
7
| required by a bound introduced by this call
8
8
|
9
- = help: the trait `Fn<()>` is not implemented for `fn() {foo}`
9
+ = help: the trait `Fn<()>` is not implemented for fn item `fn() {foo}`
10
10
= note: wrap the `fn() {foo}` in a closure with no arguments: `|| { /* code */ }`
11
11
= note: `#[target_feature]` functions do not implement the `Fn` traits
12
12
note: required by a bound in `call`
@@ -23,7 +23,7 @@ LL | call_mut(foo);
23
23
| |
24
24
| required by a bound introduced by this call
25
25
|
26
- = help: the trait `FnMut<()>` is not implemented for `fn() {foo}`
26
+ = help: the trait `FnMut<()>` is not implemented for fn item `fn() {foo}`
27
27
= note: wrap the `fn() {foo}` in a closure with no arguments: `|| { /* code */ }`
28
28
= note: `#[target_feature]` functions do not implement the `Fn` traits
29
29
note: required by a bound in `call_mut`
@@ -40,7 +40,7 @@ LL | call_once(foo);
40
40
| |
41
41
| required by a bound introduced by this call
42
42
|
43
- = help: the trait `FnOnce<()>` is not implemented for `fn() {foo}`
43
+ = help: the trait `FnOnce<()>` is not implemented for fn item `fn() {foo}`
44
44
= note: wrap the `fn() {foo}` in a closure with no arguments: `|| { /* code */ }`
45
45
= note: `#[target_feature]` functions do not implement the `Fn` traits
46
46
note: required by a bound in `call_once`
@@ -57,7 +57,7 @@ LL | call(foo_unsafe);
57
57
| |
58
58
| required by a bound introduced by this call
59
59
|
60
- = help: the trait `Fn<()>` is not implemented for `unsafe fn() {foo_unsafe}`
60
+ = help: the trait `Fn<()>` is not implemented for fn item `unsafe fn() {foo_unsafe}`
61
61
= note: wrap the `unsafe fn() {foo_unsafe}` in a closure with no arguments: `|| { /* code */ }`
62
62
= note: `#[target_feature]` functions do not implement the `Fn` traits
63
63
note: required by a bound in `call`
@@ -74,7 +74,7 @@ LL | call_mut(foo_unsafe);
74
74
| |
75
75
| required by a bound introduced by this call
76
76
|
77
- = help: the trait `FnMut<()>` is not implemented for `unsafe fn() {foo_unsafe}`
77
+ = help: the trait `FnMut<()>` is not implemented for fn item `unsafe fn() {foo_unsafe}`
78
78
= note: wrap the `unsafe fn() {foo_unsafe}` in a closure with no arguments: `|| { /* code */ }`
79
79
= note: `#[target_feature]` functions do not implement the `Fn` traits
80
80
note: required by a bound in `call_mut`
@@ -91,7 +91,7 @@ LL | call_once(foo_unsafe);
91
91
| |
92
92
| required by a bound introduced by this call
93
93
|
94
- = help: the trait `FnOnce<()>` is not implemented for `unsafe fn() {foo_unsafe}`
94
+ = help: the trait `FnOnce<()>` is not implemented for fn item `unsafe fn() {foo_unsafe}`
95
95
= note: wrap the `unsafe fn() {foo_unsafe}` in a closure with no arguments: `|| { /* code */ }`
96
96
= note: `#[target_feature]` functions do not implement the `Fn` traits
97
97
note: required by a bound in `call_once`
0 commit comments