summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-37534.rs
blob: 40f7186db098ec23c63da328c7b8669f3c8194a8 (plain)
1
2
3
4
5
6
struct Foo<T: ?Hash> {}
//~^ ERROR expected trait, found derive macro `Hash`
//~^^ ERROR parameter `T` is never used
//~^^^ WARN relaxing a default bound only does something for `?Sized`

fn main() {}