rust-clippy/tests/ui/crashes/ice-8821.rs
2022-05-21 13:24:00 +02:00

8 lines
102 B
Rust

#![warn(clippy::let_unit_value)]
fn f() {}
static FN: fn() = f;
fn main() {
let _: () = FN();
}