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

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

10 lines
165 B
Rust
Raw Normal View History

// normalize-stderr-test: "long-type-\d+" -> "long-type-hash"
2016-08-05 20:18:01 +00:00
trait Foo {}
struct Bar<T>(T);
impl<T> Foo for T where Bar<T>: Foo {} //~ ERROR E0275
fn main() {
}