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

8 lines
115 B
Rust

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