summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.uncovered.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.uncovered.stderr')
-rw-r--r--tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.uncovered.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.uncovered.stderr b/tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.uncovered.stderr
new file mode 100644
index 000000000..88c72042c
--- /dev/null
+++ b/tests/ui/associated-inherent-types/not-found-self-type-differs-shadowing-trait-item.uncovered.stderr
@@ -0,0 +1,9 @@
+error[E0223]: ambiguous associated type
+ --> $DIR/not-found-self-type-differs-shadowing-trait-item.rs:28:12
+ |
+LL | let _: S::<bool>::Pr = ();
+ | ^^^^^^^^^^^^^ help: use the fully-qualified path: `<S<bool> as Tr>::Pr`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0223`.