summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/issue-23595-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-types/issue-23595-1.stderr')
-rw-r--r--src/test/ui/associated-types/issue-23595-1.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/associated-types/issue-23595-1.stderr b/src/test/ui/associated-types/issue-23595-1.stderr
new file mode 100644
index 000000000..4307477a5
--- /dev/null
+++ b/src/test/ui/associated-types/issue-23595-1.stderr
@@ -0,0 +1,13 @@
+error[E0191]: the value of the associated types `ChildKey` (from trait `Hierarchy`), `Children` (from trait `Hierarchy`), `Value` (from trait `Hierarchy`) must be specified
+ --> $DIR/issue-23595-1.rs:8:58
+ |
+LL | type Value;
+ | ---------- `Value` defined here
+LL | type ChildKey;
+ | ------------- `ChildKey` defined here
+LL | type Children = dyn Index<Self::ChildKey, Output=dyn Hierarchy>;
+ | ------------- `Children` defined here ^^^^^^^^^ help: specify the associated types: `Hierarchy<Value = Type, ChildKey = Type, Children = Type>`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0191`.