2023-10-30 17:47:07 +00:00
|
|
|
struct Foo<T: ?Hash> {}
|
2019-07-15 03:28:17 +03:00
|
|
|
//~^ ERROR expected trait, found derive macro `Hash`
|
2025-01-21 09:17:40 +00:00
|
|
|
//~| ERROR relaxing a default bound only does something for `?Sized`
|
2016-11-03 14:55:35 -06:00
|
|
|
|
2023-10-30 17:47:07 +00:00
|
|
|
fn main() {}
|