rust/tests/ui/derives/issue-97343.rs

9 lines
178 B
Rust

use std::fmt::Debug;
#[derive(Debug)]
pub struct Irrelevant<Irrelevant> { //~ ERROR type arguments are not allowed on type parameter
irrelevant: Irrelevant,
}
fn main() {}