rust/tests/ui/regions/regions-name-duplicated.rs
2023-01-11 09:32:08 +00:00

7 lines
124 B
Rust

struct Foo<'a, 'a> {
//~^ ERROR the name `'a` is already used for a generic parameter
x: &'a isize,
}
fn main() {}