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: cannot continue compilation due to previous error If you want more information on this error, try using "rustc --explain E0405"