This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1774,6 +1774,7 @@ Released 2018-09-13
1774
1774
[ `print_with_newline` ] : https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline
1775
1775
[ `println_empty_string` ] : https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string
1776
1776
[ `ptr_arg` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
1777
+ [ `ptr_eq` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
1777
1778
[ `ptr_offset_with_cast` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
1778
1779
[ `pub_enum_variant_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names
1779
1780
[ `question_mark` ] : https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
Original file line number Diff line number Diff line change @@ -1844,6 +1844,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
1844
1844
deprecation: None ,
1845
1845
module: "ptr" ,
1846
1846
} ,
1847
+ Lint {
1848
+ name: "ptr_eq" ,
1849
+ group: "style" ,
1850
+ desc: "use `std::ptr::eq` when comparing raw pointers" ,
1851
+ deprecation: None ,
1852
+ module: "ptr_eq" ,
1853
+ } ,
1847
1854
Lint {
1848
1855
name: "ptr_offset_with_cast" ,
1849
1856
group: "complexity" ,
You can’t perform that action at this time.
0 commit comments