summaryrefslogtreecommitdiffstats
path: root/src/test/ui/methods/method-macro-backtrace.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/methods/method-macro-backtrace.stderr')
-rw-r--r--src/test/ui/methods/method-macro-backtrace.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/methods/method-macro-backtrace.stderr b/src/test/ui/methods/method-macro-backtrace.stderr
new file mode 100644
index 000000000..7ae00835c
--- /dev/null
+++ b/src/test/ui/methods/method-macro-backtrace.stderr
@@ -0,0 +1,11 @@
+error[E0201]: duplicate definitions with name `bar`:
+ --> $DIR/method-macro-backtrace.rs:22:5
+ |
+LL | fn bar(&self) { }
+ | ------------- previous definition of `bar` here
+LL | fn bar(&self) { }
+ | ^^^^^^^^^^^^^ duplicate definition
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0201`.