]> git.lizzy.rs Git - rust.git/blob - src/test/ui/methods/method-macro-backtrace.stderr
move an `assert!` to the right place
[rust.git] / src / test / ui / methods / method-macro-backtrace.stderr
1 error[E0201]: duplicate definitions with name `bar`:
2   --> $DIR/method-macro-backtrace.rs:22:5
3    |
4 LL |     fn bar(&self) { }
5    |     ------------- previous definition of `bar` here
6 LL |     fn bar(&self) { }
7    |     ^^^^^^^^^^^^^ duplicate definition
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0201`.