about summary refs log tree commit diff
path: root/tests/ui/issues/issue-37534.rs
blob: 63f6479ae2e24fc178a2c50c5e7ce17bc63b5543 (plain)
1
2
3
4
5
struct Foo<T: ?Hash> {}
//~^ ERROR expected trait, found derive macro `Hash`
//~| ERROR bound modifier `?` can only be applied to `Sized`

fn main() {}