mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
6 lines
159 B
Rust
6 lines
159 B
Rust
struct Foo<T: ?Hash> {}
|
|
//~^ ERROR expected trait, found derive macro `Hash`
|
|
//~| WARN relaxing a default bound only does something for `?Sized`
|
|
|
|
fn main() {}
|