blob: 9386b4516a330da743d3477f844a3ddf4a294461 (
plain)
1
2
3
4
5
6
|
struct Foo<T: ?Hash> { }
//~^ ERROR cannot find trait `Hash` in this scope
//~^^ ERROR parameter `T` is never used
//~^^^ WARN default bound relaxed for a type parameter, but this does nothing
fn main() { }
|