blob: a5090cb872a41f8e5c58fc5ca3bcf25a52b1ba0c [file]
warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
--> $DIR/wide_pointer_comparisons-no_std.rs:8:5
|
LL | a == b
| ^^^^^^
|
= note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default
help: use `core::ptr::addr_eq` or untyped pointers to only compare their addresses
|
LL - a == b
LL + core::ptr::addr_eq(a, b)
|
help: use explicit `core::ptr::eq` method to compare metadata and addresses
|
LL - a == b
LL + core::ptr::eq(a, b)
|
warning: 1 warning emitted