rust/tests/ui/query-system/fn-sig-cycle-arity.rs
2023-01-11 09:32:08 +00:00

9 lines
188 B
Rust

trait Dancer {
fn dance(&self) -> _ {
//~^ ERROR the placeholder `_` is not allowed within types on item signatures for return types
self.dance()
}
}
fn main() {}