mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 01:10:36 +00:00
14 lines
175 B
Rust
14 lines
175 B
Rust
//@ run-pass
|
|
|
|
fn good(_a: &isize) {
|
|
}
|
|
|
|
// unnamed argument &isize is now parse x: &isize
|
|
|
|
fn called<F>(_f: F) where F: FnOnce(&isize) {
|
|
}
|
|
|
|
pub fn main() {
|
|
called(good);
|
|
}
|