mirror of https://github.com/rust-lang/rust.git
10 lines
144 B
Rust
10 lines
144 B
Rust
|
//@ compile-flags: -Cmetadata=aux
|
||
|
|
||
|
pub struct Foo;
|
||
|
|
||
|
impl Foo {
|
||
|
pub fn new<F>(f: F) -> Foo where F: FnMut() -> i32 {
|
||
|
loop {}
|
||
|
}
|
||
|
}
|