diff options
| author | Marcin Serwin <marcin.serwin0@protonmail.com> | 2024-01-02 22:54:17 +0100 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2024-02-04 17:38:09 +0100 |
| commit | a3baebcb3147773c9673e4ea166e3419201e8b9f (patch) | |
| tree | 8414f8dc14561e6acf62d0a0aff67a5241828dbd /clippy_lints/src/declared_lints.rs | |
| parent | bc962c246a8f3efe4a1217b36c64a03652493327 (diff) | |
| download | rust-a3baebcb3147773c9673e4ea166e3419201e8b9f.tar.gz rust-a3baebcb3147773c9673e4ea166e3419201e8b9f.zip | |
Add ref_as_ptr lint
Author: Marcin Serwin <marcin.serwin0@protonmail.com>
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
| -rw-r--r-- | clippy_lints/src/declared_lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs index f6c9ffea9fc..ccb7b25066d 100644 --- a/clippy_lints/src/declared_lints.rs +++ b/clippy_lints/src/declared_lints.rs @@ -96,6 +96,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[ crate::casts::FN_TO_NUMERIC_CAST_WITH_TRUNCATION_INFO, crate::casts::PTR_AS_PTR_INFO, crate::casts::PTR_CAST_CONSTNESS_INFO, + crate::casts::REF_AS_PTR_INFO, crate::casts::UNNECESSARY_CAST_INFO, crate::casts::ZERO_PTR_INFO, crate::checked_conversions::CHECKED_CONVERSIONS_INFO, |
