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