@@ -74,7 +74,7 @@ LL | let _ = PartialEq::eq(&a, &b);
7474help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
7575 |
7676LL | let _ = std::ptr::addr_eq(a, b);
77- | ~~~~~~~~~~~~~~~~~~ ~ ~
77+ | ~~~~~~~~~~~~~~~~~~ ~
7878
7979warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
8080 --> $DIR/wide_pointer_comparisons.rs:35:13
@@ -85,7 +85,7 @@ LL | let _ = PartialEq::ne(&a, &b);
8585help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
8686 |
8787LL | let _ = !std::ptr::addr_eq(a, b);
88- | ~~~~~~~~~~~~~~~~~~~ ~ ~
88+ | ~~~~~~~~~~~~~~~~~~~ ~
8989
9090warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
9191 --> $DIR/wide_pointer_comparisons.rs:37:13
@@ -96,7 +96,7 @@ LL | let _ = a.eq(&b);
9696help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
9797 |
9898LL | let _ = std::ptr::addr_eq(a, b);
99- | ++++++++++++++++++ ~ ~
99+ | ++++++++++++++++++ ~
100100
101101warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
102102 --> $DIR/wide_pointer_comparisons.rs:39:13
@@ -107,7 +107,7 @@ LL | let _ = a.ne(&b);
107107help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
108108 |
109109LL | let _ = !std::ptr::addr_eq(a, b);
110- | +++++++++++++++++++ ~ ~
110+ | +++++++++++++++++++ ~
111111
112112warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
113113 --> $DIR/wide_pointer_comparisons.rs:41:13
@@ -283,7 +283,7 @@ LL | let _ = PartialEq::eq(a, b);
283283help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
284284 |
285285LL | let _ = std::ptr::addr_eq(*a, *b);
286- | ~~~~~~~~~~~~~~~~~~~ ~~~ ~
286+ | ~~~~~~~~~~~~~~~~~~~ ~~~
287287
288288warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
289289 --> $DIR/wide_pointer_comparisons.rs:85:17
@@ -294,7 +294,7 @@ LL | let _ = PartialEq::ne(a, b);
294294help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
295295 |
296296LL | let _ = !std::ptr::addr_eq(*a, *b);
297- | ~~~~~~~~~~~~~~~~~~~~ ~~~ ~
297+ | ~~~~~~~~~~~~~~~~~~~~ ~~~
298298
299299warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
300300 --> $DIR/wide_pointer_comparisons.rs:87:17
@@ -305,7 +305,7 @@ LL | let _ = PartialEq::eq(&a, &b);
305305help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
306306 |
307307LL | let _ = std::ptr::addr_eq(*a, *b);
308- | ~~~~~~~~~~~~~~~~~~~ ~~~ ~
308+ | ~~~~~~~~~~~~~~~~~~~ ~~~
309309
310310warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
311311 --> $DIR/wide_pointer_comparisons.rs:89:17
@@ -316,7 +316,7 @@ LL | let _ = PartialEq::ne(&a, &b);
316316help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
317317 |
318318LL | let _ = !std::ptr::addr_eq(*a, *b);
319- | ~~~~~~~~~~~~~~~~~~~~ ~~~ ~
319+ | ~~~~~~~~~~~~~~~~~~~~ ~~~
320320
321321warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
322322 --> $DIR/wide_pointer_comparisons.rs:91:17
@@ -327,7 +327,7 @@ LL | let _ = a.eq(b);
327327help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
328328 |
329329LL | let _ = std::ptr::addr_eq(*a, *b);
330- | +++++++++++++++++++ ~~~ ~
330+ | +++++++++++++++++++ ~~~
331331
332332warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
333333 --> $DIR/wide_pointer_comparisons.rs:93:17
@@ -338,7 +338,7 @@ LL | let _ = a.ne(b);
338338help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
339339 |
340340LL | let _ = !std::ptr::addr_eq(*a, *b);
341- | ++++++++++++++++++++ ~~~ ~
341+ | ++++++++++++++++++++ ~~~
342342
343343warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
344344 --> $DIR/wide_pointer_comparisons.rs:95:17
@@ -519,11 +519,11 @@ LL | let _ = PartialEq::eq(&a, &b);
519519help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
520520 |
521521LL | let _ = std::ptr::addr_eq(a, b);
522- | ~~~~~~~~~~~~~~~~~~ ~ ~
522+ | ~~~~~~~~~~~~~~~~~~ ~
523523help: use explicit `std::ptr::eq` method to compare metadata and addresses
524524 |
525525LL | let _ = std::ptr::eq(a, b);
526- | ~~~~~~~~~~~~~ ~ ~
526+ | ~~~~~~~~~~~~~ ~
527527
528528warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
529529 --> $DIR/wide_pointer_comparisons.rs:133:17
@@ -534,11 +534,11 @@ LL | let _ = PartialEq::ne(&a, &b);
534534help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
535535 |
536536LL | let _ = !std::ptr::addr_eq(a, b);
537- | ~~~~~~~~~~~~~~~~~~~ ~ ~
537+ | ~~~~~~~~~~~~~~~~~~~ ~
538538help: use explicit `std::ptr::eq` method to compare metadata and addresses
539539 |
540540LL | let _ = !std::ptr::eq(a, b);
541- | ~~~~~~~~~~~~~~ ~ ~
541+ | ~~~~~~~~~~~~~~ ~
542542
543543warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
544544 --> $DIR/wide_pointer_comparisons.rs:135:17
@@ -549,11 +549,11 @@ LL | let _ = a.eq(&b);
549549help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
550550 |
551551LL | let _ = std::ptr::addr_eq(a, b);
552- | ++++++++++++++++++ ~ ~
552+ | ++++++++++++++++++ ~
553553help: use explicit `std::ptr::eq` method to compare metadata and addresses
554554 |
555555LL | let _ = std::ptr::eq(a, b);
556- | +++++++++++++ ~ ~
556+ | +++++++++++++ ~
557557
558558warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
559559 --> $DIR/wide_pointer_comparisons.rs:137:17
@@ -564,11 +564,11 @@ LL | let _ = a.ne(&b);
564564help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
565565 |
566566LL | let _ = !std::ptr::addr_eq(a, b);
567- | +++++++++++++++++++ ~ ~
567+ | +++++++++++++++++++ ~
568568help: use explicit `std::ptr::eq` method to compare metadata and addresses
569569 |
570570LL | let _ = !std::ptr::eq(a, b);
571- | ++++++++++++++ ~ ~
571+ | ++++++++++++++ ~
572572
573573warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
574574 --> $DIR/wide_pointer_comparisons.rs:142:9
@@ -594,7 +594,7 @@ LL | cmp!(a, b);
594594help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses
595595 |
596596LL | cmp!(std::ptr::addr_eq(a, b));
597- | ++++++++++++++++++ ~ +
597+ | ++++++++++++++++++ +
598598
599599warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
600600 --> $DIR/wide_pointer_comparisons.rs:159:39
0 commit comments