rust/tests/ui/error-codes/E0275.rs
2024-02-16 20:02:50 +00:00

10 lines
166 B
Rust

//@ normalize-stderr-test: "long-type-\d+" -> "long-type-hash"
trait Foo {}
struct Bar<T>(T);
impl<T> Foo for T where Bar<T>: Foo {} //~ ERROR E0275
fn main() {
}