summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-item/associated-item-duplicate-names-3.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/associated-item/associated-item-duplicate-names-3.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/associated-item/associated-item-duplicate-names-3.stderr b/src/test/ui/associated-item/associated-item-duplicate-names-3.stderr
new file mode 100644
index 000000000..03782f663
--- /dev/null
+++ b/src/test/ui/associated-item/associated-item-duplicate-names-3.stderr
@@ -0,0 +1,11 @@
+error[E0201]: duplicate definitions with name `Bar`:
+ --> $DIR/associated-item-duplicate-names-3.rs:14:5
+ |
+LL | type Bar = i16;
+ | -------- previous definition of `Bar` here
+LL | type Bar = u16;
+ | ^^^^^^^^ duplicate definition
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0201`.