summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-inherent-types/assoc-inherent-no-body.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-inherent-types/assoc-inherent-no-body.stderr')
-rw-r--r--src/test/ui/associated-inherent-types/assoc-inherent-no-body.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/associated-inherent-types/assoc-inherent-no-body.stderr b/src/test/ui/associated-inherent-types/assoc-inherent-no-body.stderr
new file mode 100644
index 000000000..387a5658d
--- /dev/null
+++ b/src/test/ui/associated-inherent-types/assoc-inherent-no-body.stderr
@@ -0,0 +1,10 @@
+error: associated type in `impl` without body
+ --> $DIR/assoc-inherent-no-body.rs:7:5
+ |
+LL | type Baz;
+ | ^^^^^^^^-
+ | |
+ | help: provide a definition for the type: `= <type>;`
+
+error: aborting due to previous error
+