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