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`
|
2024-10-30 02:28:37 +00:00
|
|
|
//~| WARN 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() {}
|