about summary refs log tree commit diff
path: root/tests/ui/error-codes/E0275.rs
blob: 98d4a3c01b9a2c9e0a2708a1aa2b1d0274e25516 (plain)
1
2
3
4
5
6
7
8
9
//@ compile-flags: -Zwrite-long-types-to-disk=yes
trait Foo {}

struct Bar<T>(T);

impl<T> Foo for T where Bar<T>: Foo {} //~ ERROR E0275

fn main() {
}