
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
10 lines
120 B
Rust
10 lines
120 B
Rust
//@ run-pass
|
|
|
|
|
|
|
|
|
|
fn foo(_f: fn(isize) -> isize) { }
|
|
|
|
fn id(x: isize) -> isize { return x; }
|
|
|
|
pub fn main() { foo(id); }
|