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

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

9 lines
178 B
Rust
Raw Normal View History

2022-05-27 12:47:05 -05:00
use std::fmt::Debug;
#[derive(Debug)]
2022-06-01 18:55:30 -05:00
pub struct Irrelevant<Irrelevant> { //~ ERROR type arguments are not allowed on type parameter
2022-05-27 12:47:05 -05:00
irrelevant: Irrelevant,
}
fn main() {}