1 error[E0412]: cannot find type `Bar` in this scope
2 --> $DIR/issue-36836.rs:13:17
4 LL | impl<T> Foo for Bar<T> {}
5 | ^^^ not found in this scope
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0412`.