1
1
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
2
- --> $DIR/fn-ptr-comparisons.rs:26 :13
2
+ --> $DIR/fn-ptr-comparisons.rs:25 :13
3
3
|
4
4
LL | let _ = f == a;
5
5
| ^^^^^^
@@ -15,7 +15,7 @@ LL + let _ = std::ptr::fn_addr_eq(f, a as fn());
15
15
|
16
16
17
17
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
18
- --> $DIR/fn-ptr-comparisons.rs:28 :13
18
+ --> $DIR/fn-ptr-comparisons.rs:27 :13
19
19
|
20
20
LL | let _ = f != a;
21
21
| ^^^^^^
@@ -30,7 +30,7 @@ LL + let _ = !std::ptr::fn_addr_eq(f, a as fn());
30
30
|
31
31
32
32
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
33
- --> $DIR/fn-ptr-comparisons.rs:30 :13
33
+ --> $DIR/fn-ptr-comparisons.rs:29 :13
34
34
|
35
35
LL | let _ = f == g;
36
36
| ^^^^^^
@@ -45,7 +45,7 @@ LL + let _ = std::ptr::fn_addr_eq(f, g);
45
45
|
46
46
47
47
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
48
- --> $DIR/fn-ptr-comparisons.rs:32 :13
48
+ --> $DIR/fn-ptr-comparisons.rs:31 :13
49
49
|
50
50
LL | let _ = f == f;
51
51
| ^^^^^^
@@ -60,7 +60,7 @@ LL + let _ = std::ptr::fn_addr_eq(f, f);
60
60
|
61
61
62
62
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
63
- --> $DIR/fn-ptr-comparisons.rs:34 :13
63
+ --> $DIR/fn-ptr-comparisons.rs:33 :13
64
64
|
65
65
LL | let _ = g == g;
66
66
| ^^^^^^
@@ -75,7 +75,7 @@ LL + let _ = std::ptr::fn_addr_eq(g, g);
75
75
|
76
76
77
77
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
78
- --> $DIR/fn-ptr-comparisons.rs:36 :13
78
+ --> $DIR/fn-ptr-comparisons.rs:35 :13
79
79
|
80
80
LL | let _ = g == g;
81
81
| ^^^^^^
@@ -90,7 +90,7 @@ LL + let _ = std::ptr::fn_addr_eq(g, g);
90
90
|
91
91
92
92
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
93
- --> $DIR/fn-ptr-comparisons.rs:38 :13
93
+ --> $DIR/fn-ptr-comparisons.rs:37 :13
94
94
|
95
95
LL | let _ = &g == &g;
96
96
| ^^^^^^^^
@@ -105,7 +105,7 @@ LL + let _ = std::ptr::fn_addr_eq(g, g);
105
105
|
106
106
107
107
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
108
- --> $DIR/fn-ptr-comparisons.rs:40 :13
108
+ --> $DIR/fn-ptr-comparisons.rs:39 :13
109
109
|
110
110
LL | let _ = a as fn() == g;
111
111
| ^^^^^^^^^^^^^^
@@ -120,7 +120,7 @@ LL + let _ = std::ptr::fn_addr_eq(a as fn(), g);
120
120
|
121
121
122
122
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
123
- --> $DIR/fn-ptr-comparisons.rs:44 :13
123
+ --> $DIR/fn-ptr-comparisons.rs:43 :13
124
124
|
125
125
LL | let _ = cfn == c;
126
126
| ^^^^^^^^
@@ -135,7 +135,7 @@ LL + let _ = std::ptr::fn_addr_eq(cfn, c as extern "C" fn());
135
135
|
136
136
137
137
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
138
- --> $DIR/fn-ptr-comparisons.rs:48 :13
138
+ --> $DIR/fn-ptr-comparisons.rs:47 :13
139
139
|
140
140
LL | let _ = argsfn == args;
141
141
| ^^^^^^^^^^^^^^
@@ -150,7 +150,7 @@ LL + let _ = std::ptr::fn_addr_eq(argsfn, args as extern "C" fn(i32) -> i32)
150
150
|
151
151
152
152
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
153
- --> $DIR/fn-ptr-comparisons.rs:52 :13
153
+ --> $DIR/fn-ptr-comparisons.rs:51 :13
154
154
|
155
155
LL | let _ = t == test;
156
156
| ^^^^^^^^^
@@ -165,7 +165,7 @@ LL + let _ = std::ptr::fn_addr_eq(t, test as unsafe extern "C" fn());
165
165
|
166
166
167
167
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
168
- --> $DIR/fn-ptr-comparisons.rs:56 :13
168
+ --> $DIR/fn-ptr-comparisons.rs:54 :13
169
169
|
170
170
LL | let _ = a1.f == a2.f;
171
171
| ^^^^^^^^^^^^
0 commit comments