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

9 lines
103 B
Rust
Raw Normal View History

2016-08-05 22:18:01 +02:00
trait Foo {}
struct Bar<T>(T);
impl<T> Foo for T where Bar<T>: Foo {} //~ ERROR E0275
fn main() {
}