rustc/tests/ui/error-codes/E0275.rs
2025-02-17 11:14:05 +01:00

10 lines
161 B
Rust

//@ normalize-stderr: "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() {
}