mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 21:24:12 +00:00
10 lines
143 B
Rust
10 lines
143 B
Rust
// compile-flags: -Cmetadata=aux
|
|
|
|
pub struct Foo;
|
|
|
|
impl Foo {
|
|
pub fn new<F>(f: F) -> Foo where F: FnMut() -> i32 {
|
|
loop {}
|
|
}
|
|
}
|