rust/tests/ui/error-codes/E0275.rs

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