mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-22 20:53:37 +00:00
fixup! New lint: Recommend using ptr::eq
when possible
Add missing modified files.
This commit is contained in:
parent
5bad9175fb
commit
aa7c42f756
@ -1774,6 +1774,7 @@ Released 2018-09-13
|
|||||||
[`print_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline
|
[`print_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline
|
||||||
[`println_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string
|
[`println_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string
|
||||||
[`ptr_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
[`ptr_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
||||||
|
[`ptr_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
|
||||||
[`ptr_offset_with_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
|
[`ptr_offset_with_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
|
||||||
[`pub_enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names
|
[`pub_enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names
|
||||||
[`question_mark`]: https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
|
[`question_mark`]: https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
|
||||||
|
@ -1844,6 +1844,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
|
|||||||
deprecation: None,
|
deprecation: None,
|
||||||
module: "ptr",
|
module: "ptr",
|
||||||
},
|
},
|
||||||
|
Lint {
|
||||||
|
name: "ptr_eq",
|
||||||
|
group: "style",
|
||||||
|
desc: "use `std::ptr::eq` when comparing raw pointers",
|
||||||
|
deprecation: None,
|
||||||
|
module: "ptr_eq",
|
||||||
|
},
|
||||||
Lint {
|
Lint {
|
||||||
name: "ptr_offset_with_cast",
|
name: "ptr_offset_with_cast",
|
||||||
group: "complexity",
|
group: "complexity",
|
||||||
|
Loading…
Reference in New Issue
Block a user