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