summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-inherent-types/bugs/inference-fail.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-inherent-types/bugs/inference-fail.stderr')
-rw-r--r--tests/ui/associated-inherent-types/bugs/inference-fail.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/associated-inherent-types/bugs/inference-fail.stderr b/tests/ui/associated-inherent-types/bugs/inference-fail.stderr
new file mode 100644
index 000000000..425691bd6
--- /dev/null
+++ b/tests/ui/associated-inherent-types/bugs/inference-fail.stderr
@@ -0,0 +1,9 @@
+error[E0282]: type annotations needed
+ --> $DIR/inference-fail.rs:14:14
+ |
+LL | let _: S<_>::P;
+ | ^ cannot infer type
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0282`.