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 | ^^^^^^
@@ -14,7 +14,7 @@ LL | let _ = std::ptr::fn_addr_eq(f, a as fn());
1414 | +++++++++++++++++++++ ~ ++++++++
1515
1616warning: 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
1818 |
1919LL | let _ = f != a;
2020 | ^^^^^^
@@ -28,7 +28,7 @@ LL | let _ = !std::ptr::fn_addr_eq(f, a as fn());
2828 | ++++++++++++++++++++++ ~ ++++++++
2929
3030warning: 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
3232 |
3333LL | let _ = f == g;
3434 | ^^^^^^
@@ -42,7 +42,7 @@ LL | let _ = std::ptr::fn_addr_eq(f, g);
4242 | +++++++++++++++++++++ ~ +
4343
4444warning: 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
4646 |
4747LL | let _ = f == f;
4848 | ^^^^^^
@@ -56,7 +56,7 @@ LL | let _ = std::ptr::fn_addr_eq(f, f);
5656 | +++++++++++++++++++++ ~ +
5757
5858warning: 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
6060 |
6161LL | let _ = g == g;
6262 | ^^^^^^
@@ -70,7 +70,7 @@ LL | let _ = std::ptr::fn_addr_eq(g, g);
7070 | +++++++++++++++++++++ ~ +
7171
7272warning: 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
7474 |
7575LL | let _ = g == g;
7676 | ^^^^^^
@@ -84,7 +84,7 @@ LL | let _ = std::ptr::fn_addr_eq(g, g);
8484 | +++++++++++++++++++++ ~ +
8585
8686warning: 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
8888 |
8989LL | let _ = &g == &g;
9090 | ^^^^^^^^
@@ -98,7 +98,7 @@ LL | let _ = std::ptr::fn_addr_eq(g, g);
9898 | ~~~~~~~~~~~~~~~~~~~~~ ~ +
9999
100100warning: 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
102102 |
103103LL | let _ = a as fn() == g;
104104 | ^^^^^^^^^^^^^^
@@ -112,7 +112,7 @@ LL | let _ = std::ptr::fn_addr_eq(a as fn(), g);
112112 | +++++++++++++++++++++ ~ +
113113
114114warning: 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
116116 |
117117LL | let _ = cfn == c;
118118 | ^^^^^^^^
@@ -126,7 +126,7 @@ LL | let _ = std::ptr::fn_addr_eq(cfn, c as extern "C" fn());
126126 | +++++++++++++++++++++ ~ +++++++++++++++++++
127127
128128warning: 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
130130 |
131131LL | let _ = argsfn == args;
132132 | ^^^^^^^^^^^^^^
@@ -140,7 +140,7 @@ LL | let _ = std::ptr::fn_addr_eq(argsfn, args as extern "C" fn(i32) -> i32)
140140 | +++++++++++++++++++++ ~ +++++++++++++++++++++++++++++
141141
142142warning: 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
144144 |
145145LL | let _ = t == test;
146146 | ^^^^^^^^^
@@ -154,7 +154,7 @@ LL | let _ = std::ptr::fn_addr_eq(t, test as unsafe extern "C" fn());
154154 | +++++++++++++++++++++ ~ ++++++++++++++++++++++++++
155155
156156warning: 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
158158 |
159159LL | let _ = a1.f == a2.f;
160160 | ^^^^^^^^^^^^
0 commit comments