summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-29147.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-29147.stderr')
-rw-r--r--tests/ui/issues/issue-29147.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-29147.stderr b/tests/ui/issues/issue-29147.stderr
new file mode 100644
index 000000000..138d477dc
--- /dev/null
+++ b/tests/ui/issues/issue-29147.stderr
@@ -0,0 +1,17 @@
+error[E0283]: type annotations needed
+ --> $DIR/issue-29147.rs:22:13
+ |
+LL | let _ = <S5<_>>::xxx;
+ | ^^^^^^^^^^^^ cannot infer type for struct `S5<_>`
+ |
+note: multiple `impl`s satisfying `S5<_>: Foo` found
+ --> $DIR/issue-29147.rs:18:1
+ |
+LL | impl Foo for S5<u32> { fn xxx(&self) {} }
+ | ^^^^^^^^^^^^^^^^^^^^
+LL | impl Foo for S5<u64> { fn xxx(&self) {} }
+ | ^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0283`.