summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-37534.rs
blob: 1e67e9a815830b0c14ea7d97b3a74d5e775f9e2a (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 default bound relaxed for a type parameter, but this does nothing

fn main() { }