1 // This test ensures that `self` is syntactically accepted in all places an `FnDecl` is parsed.
2 // FIXME(Centril): For now closures are an exception.
59 type X = fn(mut self);
61 type X = fn(&mut self);
62 type X = fn(&'a self);
63 type X = fn(&'a mut self);
64 type X = fn(self: u8);
65 type X = fn(mut self: u8);