@@ -74,7 +74,7 @@ LL | let _ = PartialEq::eq(&a, &b);
74
74
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
75
75
|
76
76
LL | let _ = std::ptr::addr_eq(a, b);
77
- | ~~~~~~~~~~~~~~~~~~ ~ ~
77
+ | ~~~~~~~~~~~~~~~~~~ ~
78
78
79
79
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
80
80
--> $DIR/wide_pointer_comparisons.rs:35:13
@@ -85,7 +85,7 @@ LL | let _ = PartialEq::ne(&a, &b);
85
85
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
86
86
|
87
87
LL | let _ = !std::ptr::addr_eq(a, b);
88
- | ~~~~~~~~~~~~~~~~~~~ ~ ~
88
+ | ~~~~~~~~~~~~~~~~~~~ ~
89
89
90
90
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
91
91
--> $DIR/wide_pointer_comparisons.rs:37:13
@@ -96,7 +96,7 @@ LL | let _ = a.eq(&b);
96
96
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
97
97
|
98
98
LL | let _ = std::ptr::addr_eq(a, b);
99
- | ++++++++++++++++++ ~ ~
99
+ | ++++++++++++++++++ ~
100
100
101
101
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
102
102
--> $DIR/wide_pointer_comparisons.rs:39:13
@@ -107,7 +107,7 @@ LL | let _ = a.ne(&b);
107
107
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
108
108
|
109
109
LL | let _ = !std::ptr::addr_eq(a, b);
110
- | +++++++++++++++++++ ~ ~
110
+ | +++++++++++++++++++ ~
111
111
112
112
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
113
113
--> $DIR/wide_pointer_comparisons.rs:41:13
@@ -283,7 +283,7 @@ LL | let _ = PartialEq::eq(a, b);
283
283
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
284
284
|
285
285
LL | let _ = std::ptr::addr_eq(*a, *b);
286
- | ~~~~~~~~~~~~~~~~~~~ ~~~ ~
286
+ | ~~~~~~~~~~~~~~~~~~~ ~~~
287
287
288
288
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
289
289
--> $DIR/wide_pointer_comparisons.rs:85:17
@@ -294,7 +294,7 @@ LL | let _ = PartialEq::ne(a, b);
294
294
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
295
295
|
296
296
LL | let _ = !std::ptr::addr_eq(*a, *b);
297
- | ~~~~~~~~~~~~~~~~~~~~ ~~~ ~
297
+ | ~~~~~~~~~~~~~~~~~~~~ ~~~
298
298
299
299
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
300
300
--> $DIR/wide_pointer_comparisons.rs:87:17
@@ -305,7 +305,7 @@ LL | let _ = PartialEq::eq(&a, &b);
305
305
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
306
306
|
307
307
LL | let _ = std::ptr::addr_eq(*a, *b);
308
- | ~~~~~~~~~~~~~~~~~~~ ~~~ ~
308
+ | ~~~~~~~~~~~~~~~~~~~ ~~~
309
309
310
310
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
311
311
--> $DIR/wide_pointer_comparisons.rs:89:17
@@ -316,7 +316,7 @@ LL | let _ = PartialEq::ne(&a, &b);
316
316
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
317
317
|
318
318
LL | let _ = !std::ptr::addr_eq(*a, *b);
319
- | ~~~~~~~~~~~~~~~~~~~~ ~~~ ~
319
+ | ~~~~~~~~~~~~~~~~~~~~ ~~~
320
320
321
321
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
322
322
--> $DIR/wide_pointer_comparisons.rs:91:17
@@ -327,7 +327,7 @@ LL | let _ = a.eq(b);
327
327
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
328
328
|
329
329
LL | let _ = std::ptr::addr_eq(*a, *b);
330
- | +++++++++++++++++++ ~~~ ~
330
+ | +++++++++++++++++++ ~~~
331
331
332
332
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
333
333
--> $DIR/wide_pointer_comparisons.rs:93:17
@@ -338,7 +338,7 @@ LL | let _ = a.ne(b);
338
338
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
339
339
|
340
340
LL | let _ = !std::ptr::addr_eq(*a, *b);
341
- | ++++++++++++++++++++ ~~~ ~
341
+ | ++++++++++++++++++++ ~~~
342
342
343
343
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
344
344
--> $DIR/wide_pointer_comparisons.rs:95:17
@@ -519,11 +519,11 @@ LL | let _ = PartialEq::eq(&a, &b);
519
519
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
520
520
|
521
521
LL | let _ = std::ptr::addr_eq(a, b);
522
- | ~~~~~~~~~~~~~~~~~~ ~ ~
522
+ | ~~~~~~~~~~~~~~~~~~ ~
523
523
help: use explicit `std::ptr::eq` method to compare metadata and addresses
524
524
|
525
525
LL | let _ = std::ptr::eq(a, b);
526
- | ~~~~~~~~~~~~~ ~ ~
526
+ | ~~~~~~~~~~~~~ ~
527
527
528
528
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
529
529
--> $DIR/wide_pointer_comparisons.rs:133:17
@@ -534,11 +534,11 @@ LL | let _ = PartialEq::ne(&a, &b);
534
534
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
535
535
|
536
536
LL | let _ = !std::ptr::addr_eq(a, b);
537
- | ~~~~~~~~~~~~~~~~~~~ ~ ~
537
+ | ~~~~~~~~~~~~~~~~~~~ ~
538
538
help: use explicit `std::ptr::eq` method to compare metadata and addresses
539
539
|
540
540
LL | let _ = !std::ptr::eq(a, b);
541
- | ~~~~~~~~~~~~~~ ~ ~
541
+ | ~~~~~~~~~~~~~~ ~
542
542
543
543
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
544
544
--> $DIR/wide_pointer_comparisons.rs:135:17
@@ -549,11 +549,11 @@ LL | let _ = a.eq(&b);
549
549
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
550
550
|
551
551
LL | let _ = std::ptr::addr_eq(a, b);
552
- | ++++++++++++++++++ ~ ~
552
+ | ++++++++++++++++++ ~
553
553
help: use explicit `std::ptr::eq` method to compare metadata and addresses
554
554
|
555
555
LL | let _ = std::ptr::eq(a, b);
556
- | +++++++++++++ ~ ~
556
+ | +++++++++++++ ~
557
557
558
558
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
559
559
--> $DIR/wide_pointer_comparisons.rs:137:17
@@ -564,11 +564,11 @@ LL | let _ = a.ne(&b);
564
564
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
565
565
|
566
566
LL | let _ = !std::ptr::addr_eq(a, b);
567
- | +++++++++++++++++++ ~ ~
567
+ | +++++++++++++++++++ ~
568
568
help: use explicit `std::ptr::eq` method to compare metadata and addresses
569
569
|
570
570
LL | let _ = !std::ptr::eq(a, b);
571
- | ++++++++++++++ ~ ~
571
+ | ++++++++++++++ ~
572
572
573
573
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
574
574
--> $DIR/wide_pointer_comparisons.rs:142:9
@@ -594,7 +594,7 @@ LL | cmp!(a, b);
594
594
help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
595
595
|
596
596
LL | cmp!(std::ptr::addr_eq(a, b));
597
- | ++++++++++++++++++ ~ +
597
+ | ++++++++++++++++++ +
598
598
599
599
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
600
600
--> $DIR/wide_pointer_comparisons.rs:159:39
0 commit comments