rust/tests/ui/ref_option_ref.rs
2020-10-26 22:34:40 +01:00

6 lines
82 B
Rust

#![warn(clippy::ref_option_ref)]
fn main() {
let x: &Option<&u32> = &None;
}