rust-analyzer / rowan

Apache License 2.0
677 stars 57 forks source link

Fix pointer comparison warning on newer rustc #162

Closed jelmer closed 2 months ago

jelmer commented 2 months ago
arning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected
  --> src/arc.rs:86:9
   |
86 |         this.ptr() == other.ptr()
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default