I'm trying to organize my code like in this playground: Rust Playground.
Is there a way to avoid that error:
Compiling playground v0.0.1 (/playground)
error[E0119]: conflicting implementations of trait `trait_declaration::Repo` for type `usage::Database`
--> src/main.rs:28:9
|
17 | impl crate::trait_declaration::Repo for Database {
| ------------------------------------------------ first implementation here
...
28 | impl crate::trait_declaration::Repo for Database {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `usage::Database`
For more information about this error, try `rustc --explain E0119`.