6 lines
159 B
Rust
6 lines
159 B
Rust
struct Foo<T: ?Hash> {}
|
|
//~^ ERROR expected trait, found derive macro `Hash`
|
|
//~| WARN relaxing a default bound only does something for `?Sized`
|
|
|
|
fn main() {}
|