mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
10 lines
219 B
Rust
10 lines
219 B
Rust
use std::fmt::Debug;
|
|
|
|
#[derive(Debug)]
|
|
pub struct Irrelevant<Irrelevant> { //~ ERROR type arguments are not allowed on type parameter
|
|
//~^ ERROR `Irrelevant` must be used
|
|
irrelevant: Irrelevant,
|
|
}
|
|
|
|
fn main() {}
|