rust/src/test/ui/error-codes/E0275.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
103 B
Rust
Raw Normal View History

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