13 lines
160 B
Rust
13 lines
160 B
Rust
fn a<F>(_f: F) -> ()
|
|
where
|
|
F: FnOnce() -> (),
|
|
{
|
|
}
|
|
fn main() {
|
|
a(|| {
|
|
#[allow(irrefutable_let_patterns)]
|
|
while let _ = 0 {
|
|
break;
|
|
}
|
|
});
|
|
} |