mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 13:46:03 +00:00
8 lines
203 B
Rust
8 lines
203 B
Rust
struct Foo<T: ?Hash> {}
|
|
//~^ ERROR expected trait, found derive macro `Hash`
|
|
//~| ERROR bound modifier `?` can only be applied to `Sized`
|
|
|
|
fn main() {}
|
|
|
|
// https://github.com/rust-lang/rust/issues/37534
|