11warning: 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
33 |
44LL | let _ = f == a;
55 | ^^^^^^
@@ -15,7 +15,7 @@ LL + let _ = std::ptr::fn_addr_eq(f, a as fn());
1515 |
1616
1717warning: 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
1919 |
2020LL | let _ = f != a;
2121 | ^^^^^^
@@ -30,7 +30,7 @@ LL + let _ = !std::ptr::fn_addr_eq(f, a as fn());
3030 |
3131
3232warning: 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
3434 |
3535LL | let _ = f == g;
3636 | ^^^^^^
@@ -45,7 +45,7 @@ LL + let _ = std::ptr::fn_addr_eq(f, g);
4545 |
4646
4747warning: 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
4949 |
5050LL | let _ = f == f;
5151 | ^^^^^^
@@ -60,7 +60,7 @@ LL + let _ = std::ptr::fn_addr_eq(f, f);
6060 |
6161
6262warning: 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
6464 |
6565LL | let _ = g == g;
6666 | ^^^^^^
@@ -75,7 +75,7 @@ LL + let _ = std::ptr::fn_addr_eq(g, g);
7575 |
7676
7777warning: 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
7979 |
8080LL | let _ = g == g;
8181 | ^^^^^^
@@ -90,7 +90,7 @@ LL + let _ = std::ptr::fn_addr_eq(g, g);
9090 |
9191
9292warning: 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
9494 |
9595LL | let _ = &g == &g;
9696 | ^^^^^^^^
@@ -105,7 +105,7 @@ LL + let _ = std::ptr::fn_addr_eq(g, g);
105105 |
106106
107107warning: 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
109109 |
110110LL | let _ = a as fn() == g;
111111 | ^^^^^^^^^^^^^^
@@ -120,7 +120,7 @@ LL + let _ = std::ptr::fn_addr_eq(a as fn(), g);
120120 |
121121
122122warning: 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
124124 |
125125LL | let _ = cfn == c;
126126 | ^^^^^^^^
@@ -135,7 +135,7 @@ LL + let _ = std::ptr::fn_addr_eq(cfn, c as extern "C" fn());
135135 |
136136
137137warning: 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
139139 |
140140LL | let _ = argsfn == args;
141141 | ^^^^^^^^^^^^^^
@@ -150,7 +150,7 @@ LL + let _ = std::ptr::fn_addr_eq(argsfn, args as extern "C" fn(i32) -> i32)
150150 |
151151
152152warning: 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
154154 |
155155LL | let _ = t == test;
156156 | ^^^^^^^^^
@@ -165,7 +165,7 @@ LL + let _ = std::ptr::fn_addr_eq(t, test as unsafe extern "C" fn());
165165 |
166166
167167warning: 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
169169 |
170170LL | let _ = a1.f == a2.f;
171171 | ^^^^^^^^^^^^
0 commit comments