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
| ^^^^^^
@@ -14,7 +14,7 @@ LL | let _ = std::ptr::fn_addr_eq(f, a as fn());
14
14
| +++++++++++++++++++++ ~ ++++++++
15
15
16
16
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
17
- --> $DIR/fn-ptr-comparisons.rs:28 :13
17
+ --> $DIR/fn-ptr-comparisons.rs:27 :13
18
18
|
19
19
LL | let _ = f != a;
20
20
| ^^^^^^
@@ -28,7 +28,7 @@ LL | let _ = !std::ptr::fn_addr_eq(f, a as fn());
28
28
| ++++++++++++++++++++++ ~ ++++++++
29
29
30
30
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
31
- --> $DIR/fn-ptr-comparisons.rs:30 :13
31
+ --> $DIR/fn-ptr-comparisons.rs:29 :13
32
32
|
33
33
LL | let _ = f == g;
34
34
| ^^^^^^
@@ -42,7 +42,7 @@ LL | let _ = std::ptr::fn_addr_eq(f, g);
42
42
| +++++++++++++++++++++ ~ +
43
43
44
44
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
45
- --> $DIR/fn-ptr-comparisons.rs:32 :13
45
+ --> $DIR/fn-ptr-comparisons.rs:31 :13
46
46
|
47
47
LL | let _ = f == f;
48
48
| ^^^^^^
@@ -56,7 +56,7 @@ LL | let _ = std::ptr::fn_addr_eq(f, f);
56
56
| +++++++++++++++++++++ ~ +
57
57
58
58
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
59
- --> $DIR/fn-ptr-comparisons.rs:34 :13
59
+ --> $DIR/fn-ptr-comparisons.rs:33 :13
60
60
|
61
61
LL | let _ = g == g;
62
62
| ^^^^^^
@@ -70,7 +70,7 @@ LL | let _ = std::ptr::fn_addr_eq(g, g);
70
70
| +++++++++++++++++++++ ~ +
71
71
72
72
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
73
- --> $DIR/fn-ptr-comparisons.rs:36 :13
73
+ --> $DIR/fn-ptr-comparisons.rs:35 :13
74
74
|
75
75
LL | let _ = g == g;
76
76
| ^^^^^^
@@ -84,7 +84,7 @@ LL | let _ = std::ptr::fn_addr_eq(g, g);
84
84
| +++++++++++++++++++++ ~ +
85
85
86
86
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
87
- --> $DIR/fn-ptr-comparisons.rs:38 :13
87
+ --> $DIR/fn-ptr-comparisons.rs:37 :13
88
88
|
89
89
LL | let _ = &g == &g;
90
90
| ^^^^^^^^
@@ -98,7 +98,7 @@ LL | let _ = std::ptr::fn_addr_eq(g, g);
98
98
| ~~~~~~~~~~~~~~~~~~~~~ ~ +
99
99
100
100
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
101
- --> $DIR/fn-ptr-comparisons.rs:40 :13
101
+ --> $DIR/fn-ptr-comparisons.rs:39 :13
102
102
|
103
103
LL | let _ = a as fn() == g;
104
104
| ^^^^^^^^^^^^^^
@@ -112,7 +112,7 @@ LL | let _ = std::ptr::fn_addr_eq(a as fn(), g);
112
112
| +++++++++++++++++++++ ~ +
113
113
114
114
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
115
- --> $DIR/fn-ptr-comparisons.rs:44 :13
115
+ --> $DIR/fn-ptr-comparisons.rs:43 :13
116
116
|
117
117
LL | let _ = cfn == c;
118
118
| ^^^^^^^^
@@ -126,7 +126,7 @@ LL | let _ = std::ptr::fn_addr_eq(cfn, c as extern "C" fn());
126
126
| +++++++++++++++++++++ ~ +++++++++++++++++++
127
127
128
128
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
129
- --> $DIR/fn-ptr-comparisons.rs:48 :13
129
+ --> $DIR/fn-ptr-comparisons.rs:47 :13
130
130
|
131
131
LL | let _ = argsfn == args;
132
132
| ^^^^^^^^^^^^^^
@@ -140,7 +140,7 @@ LL | let _ = std::ptr::fn_addr_eq(argsfn, args as extern "C" fn(i32) -> i32)
140
140
| +++++++++++++++++++++ ~ +++++++++++++++++++++++++++++
141
141
142
142
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
143
- --> $DIR/fn-ptr-comparisons.rs:52 :13
143
+ --> $DIR/fn-ptr-comparisons.rs:51 :13
144
144
|
145
145
LL | let _ = t == test;
146
146
| ^^^^^^^^^
@@ -154,7 +154,7 @@ LL | let _ = std::ptr::fn_addr_eq(t, test as unsafe extern "C" fn());
154
154
| +++++++++++++++++++++ ~ ++++++++++++++++++++++++++
155
155
156
156
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
157
- --> $DIR/fn-ptr-comparisons.rs:56 :13
157
+ --> $DIR/fn-ptr-comparisons.rs:54 :13
158
158
|
159
159
LL | let _ = a1.f == a2.f;
160
160
| ^^^^^^^^^^^^
0 commit comments