rust/src/test/ui/issues/issue-37534.rs
2018-12-25 21:08:33 -07:00

7 lines
208 B
Rust

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() { }