2018-12-25 21:08:33 -07:00

9 lines
103 B
Rust

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