rust/src/test/ui/issues/issue-58856-1.rs

9 lines
113 B
Rust
Raw Normal View History

struct A;
impl A {
fn b(self> {}
//~^ ERROR expected one of `)`, `,`, or `:`, found `>`
}
fn main() {}