2016-11-03 15:55:35 -05:00
|
|
|
struct Foo<T: ?Hash> { }
|
2017-01-11 16:18:08 -06:00
|
|
|
//~^ ERROR cannot find trait `Hash` in this scope
|
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() { }
|