]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/compare-method/region-extra.stderr
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / ui / compare-method / region-extra.stderr
diff --git a/src/test/ui/compare-method/region-extra.stderr b/src/test/ui/compare-method/region-extra.stderr
new file mode 100644 (file)
index 0000000..e657813
--- /dev/null
@@ -0,0 +1,11 @@
+error[E0276]: impl has stricter requirements than trait
+  --> $DIR/region-extra.rs:22:5
+   |
+18 |     fn foo();
+   |     --------- definition of `foo` from trait
+...
+22 |     fn foo() where 'a: 'b { }
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `'a: 'b`
+
+error: aborting due to previous error
+