2016-11-03 14:55:35 -06:00
|
|
|
struct Foo<T: ?Hash> { }
|
2017-01-12 01:18:08 +03:00
|
|
|
//~^ ERROR cannot find trait `Hash` in this scope
|
2016-12-01 01:35:25 +03:00
|
|
|
//~^^ ERROR parameter `T` is never used
|
2016-11-03 14:55:35 -06:00
|
|
|
//~^^^ WARN default bound relaxed for a type parameter, but this does nothing
|
|
|
|
|
|
|
|
fn main() { }
|