blob: d30e9f92ce9fbfac591e86947907538566b1909b (
plain)
1
2
3
4
5
6
7
|
struct Foo<T: ?Hash> {}
//~^ ERROR expected trait, found derive macro `Hash`
//~| ERROR bound modifier `?` can only be applied to `Sized`
fn main() {}
// https://github.com/rust-lang/rust/issues/37534
|