mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
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 {}
|
|
}
|
|
}
|