rust/tests/ui/generics/issue-79605.rs

7 lines
154 B
Rust

struct X<'a, T>(&'a T);
impl X<'_, _> {}
//~^ ERROR the placeholder `_` is not allowed within types on item signatures for implementations
fn main() {}