rust/tests/ui/sized/relaxing-default-bound-error-37534.rs
2025-10-16 19:53:32 +02:00

5 lines
150 B
Rust

// issue: <https://github.com/rust-lang/rust/issues/37534>
struct Foo<T: ?Hash> {} //~ ERROR expected trait, found derive macro `Hash`
fn main() {}