rust/tests/ui/issues/issue-37534.rs

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() {}