]> git.lizzy.rs Git - rust.git/blob - tests/ui/query-system/fn-sig-cycle-arity.rs
Auto merge of #107667 - cjgillot:no-on-hit, r=lcnr,Zoxc
[rust.git] / tests / ui / query-system / fn-sig-cycle-arity.rs
1 trait Dancer {
2     fn dance(&self) -> _ {
3         //~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
4         self.dance()
5     }
6 }
7
8 fn main() {}