error[E0412]: cannot find type `B` in this scope | |
--> $DIR/issue-8767.rs:11:6 | |
| | |
LL | impl B { //~ ERROR cannot find type `B` in this scope | |
| ^ not found in this scope | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0412`. |