11 lines
136 B
Rust
11 lines
136 B
Rust
struct Fail<T>;
|
|
//~^ ERROR: type parameter `T` is never used
|
|
|
|
impl Fail<i32> {
|
|
const C: () = ();
|
|
}
|
|
|
|
fn main() {
|
|
Fail::<()>::C
|
|
}
|