os-rust/tests/ui/regions/regions-name-duplicated.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
124 B
Rust
Raw Normal View History

2021-12-08 22:40:16 +01:00
struct Foo<'a, 'a> {
//~^ ERROR the name `'a` is already used for a generic parameter
2021-12-08 22:40:16 +01:00
x: &'a isize,
}
fn main() {}