In #4945, the `option_as_ref_deref` lint was added. This lint should be enhanced, so that it also detects: ``` opt.as_ref().map(|x| &**x) ``` _Originally posted by @Areredify in https://github.com/rust-lang/rust-clippy/pull/4945#issuecomment-577714718_