ee8bfb7f7a
new lint: `option_as_ref_cloned` Closes #12009 Adds a new lint that looks for `.as_ref().cloned()` on `Option`s. That's the same as just `.clone()`-ing the option directly. changelog: new lint: [`option_as_ref_cloned`]