about summary refs log tree commit diff
path: root/clippy_lints/src/declared_lints.rs
diff options
context:
space:
mode:
authorParker Timmerman <parker@parkertimmerman.com>2023-12-17 15:55:06 -0500
committerblyxyas <blyxyas@gmail.com>2023-12-29 11:44:34 +0100
commitfa7dd1c4e0106ce0346236801653188689dbaa43 (patch)
tree7cf582f2dcb72be3fd58002becd4d0309396bdb7 /clippy_lints/src/declared_lints.rs
parent7343db9ce329f73e4447daf83f101b66309cbac1 (diff)
downloadrust-fa7dd1c4e0106ce0346236801653188689dbaa43.tar.gz
rust-fa7dd1c4e0106ce0346236801653188689dbaa43.zip
add new lint, pub_underscore_fields
- add a new late pass lint, with config options
- add ui tests for both variations of config option
- update CHANGELOG.md

github feedback

bump version to 1.77 and run cargo collect-metadata

Change `,` to `;` in `conf.rs`
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
-rw-r--r--clippy_lints/src/declared_lints.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs
index eae9dfac064..9dd22135d95 100644
--- a/clippy_lints/src/declared_lints.rs
+++ b/clippy_lints/src/declared_lints.rs
@@ -576,6 +576,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
     crate::ptr::MUT_FROM_REF_INFO,
     crate::ptr::PTR_ARG_INFO,
     crate::ptr_offset_with_cast::PTR_OFFSET_WITH_CAST_INFO,
+    crate::pub_underscore_fields::PUB_UNDERSCORE_FIELDS_INFO,
     crate::pub_use::PUB_USE_INFO,
     crate::question_mark::QUESTION_MARK_INFO,
     crate::question_mark_used::QUESTION_MARK_USED_INFO,