1 // This test checks that a suggestion to add a `self: ` parameter name is provided
2 // to functions where this is applicable.
4 pub fn foo(Box<Self>) { }
5 //~^ ERROR expected one of `:`, `@`, or `|`, found `<`
11 //~^ ERROR expected one of `:`, `@`, or `|`, found `<`