rust/src/test/ui/error-codes/E0275.rs
2018-12-25 21:08:33 -07:00

8 lines
103 B
Rust

trait Foo {}
struct Bar<T>(T);
impl<T> Foo for T where Bar<T>: Foo {} //~ ERROR E0275
fn main() {
}