1 error[E0201]: duplicate definitions with name `foo`:
2 --> $DIR/impl_items-2.rs:14:5
5 | ----------- item in trait
8 | ----------- previous definition here
11 | ^^^^^^^^^^^ duplicate definition
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0201`.