2019-07-27 00:54:25 +03:00
|
|
|
//@ run-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
|
2015-03-25 17:06:52 -07:00
|
|
|
fn good(_a: &isize) {
|
2012-09-26 10:47:21 +02:00
|
|
|
}
|
|
|
|
|
2015-03-25 17:06:52 -07:00
|
|
|
// unnamed argument &isize is now parse x: &isize
|
2012-09-26 10:47:21 +02:00
|
|
|
|
2015-03-25 17:06:52 -07:00
|
|
|
fn called<F>(_f: F) where F: FnOnce(&isize) {
|
2012-09-26 10:47:21 +02:00
|
|
|
}
|
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2013-08-17 08:37:42 -07:00
|
|
|
called(good);
|
2012-09-26 10:47:21 +02:00
|
|
|
}
|