error[E0405]: cannot find trait `SomeTrait` in this scope --> $DIR/E0405.rs:13:6 | LL | impl SomeTrait for Foo {} //~ ERROR E0405 | ^^^^^^^^^ not found in this scope error: aborting due to previous error For more information about this error, try `rustc --explain E0405`.