]> git.lizzy.rs Git - rust.git/blob - src/test/ui/self/self-infer.rs
Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-check...
[rust.git] / src / test / ui / self / self-infer.rs
1 struct S;
2
3 impl S {
4     fn f(self: _) {} //~ERROR the type placeholder `_` is not allowed within types on item sig
5     fn g(self: &_) {} //~ERROR the type placeholder `_` is not allowed within types on item sig
6 }
7
8 fn main() {}