rust-clippy/tests/ui/crashes/ice-2727.rs

7 lines
115 B
Rust

// Test for https://github.com/rust-lang/rust-clippy/issues/2727
pub fn f(new: fn()) {
new();
}
fn main() {}