2016-11-03 15:55:35 -05:00
|
|
|
struct Foo<T: ?Hash> { }
|
2019-07-14 19:28:17 -05:00
|
|
|
//~^ ERROR expected trait, found derive macro `Hash`
|
2016-11-30 16:35:25 -06:00
|
|
|
//~^^ ERROR parameter `T` is never used
|
2016-11-03 15:55:35 -05:00
|
|
|
//~^^^ WARN default bound relaxed for a type parameter, but this does nothing
|
|
|
|
|
|
|
|
fn main() { }
|