summaryrefslogtreecommitdiffstats
path: root/src/test/ui/specialization/specialization-overlap-hygiene.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/specialization/specialization-overlap-hygiene.stderr')
-rw-r--r--src/test/ui/specialization/specialization-overlap-hygiene.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/specialization/specialization-overlap-hygiene.stderr b/src/test/ui/specialization/specialization-overlap-hygiene.stderr
new file mode 100644
index 000000000..81efd46cc
--- /dev/null
+++ b/src/test/ui/specialization/specialization-overlap-hygiene.stderr
@@ -0,0 +1,12 @@
+error[E0592]: duplicate definitions with name `f`
+ --> $DIR/specialization-overlap-hygiene.rs:13:4
+ |
+LL | fn f() {}
+ | ------ other definition for `f`
+...
+LL | fn f() {}
+ | ^^^^^^ duplicate definitions for `f`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0592`.