### What it does I would like to have a lint that fires on any use of the `ref` keyword. ### Lint Name ref_pattern ### Category restriction ### Advantage Code that doesn't use it is easier to read for newcomers since they're unlikely to be aware of what it does. ### Drawbacks _No response_ ### Example ```rust if let Some(ref foo) = *rwlock.read().unwrap() {} ``` Could be written as: ```rust if let Some(foo) = &*rwlock.read().unwrap() {} ``` <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"NotAPenguin0"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->