| 1 | fn f2(u64) u64 { |
| 2 | return x; |
| 3 | } |
| 4 | fn f3(*x) u64 { |
| 5 | return x; |
| 6 | } |
| 7 | fn f1(x) u64 { |
| 8 | return x; |
| 9 | } |
| 10 | |
| 11 | // error |
| 12 | // |
| 13 | // :1:7: error: missing parameter name |
| 14 | // :4:7: error: missing parameter name |
| 15 | // :7:7: error: missing parameter name or type |
| 16 | // :7:7: note: if this is a name, annotate its type: 'x: T' |
| 17 | // :7:7: note: if this is a type, give it a name: 'name: x' |