summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/issue-97343.rs
blob: 6f0e4d55aeb0432f33146021b8a866cc3267cf6e (plain)
1
2
3
4
5
6
7
8
use std::fmt::Debug;

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

fn main() {}