rust/tests/ui/error-codes/E0275.rs
2023-07-25 12:08:44 +01:00

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