about summary refs log tree commit diff
path: root/tests/ui/error-codes/E0275.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0275.rs')
-rw-r--r--tests/ui/error-codes/E0275.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0275.rs b/tests/ui/error-codes/E0275.rs
new file mode 100644
index 00000000000..95d7f85f105
--- /dev/null
+++ b/tests/ui/error-codes/E0275.rs
@@ -0,0 +1,9 @@
+// normalize-stderr-test: "long-type-\d+" -> "long-type-hash"
+trait Foo {}
+
+struct Bar<T>(T);
+
+impl<T> Foo for T where Bar<T>: Foo {} //~ ERROR E0275
+
+fn main() {
+}