blob: 3e5c7bf3cca256f36a62518231bc73f88d3d4180 [file] [log] [blame]
struct S;
impl S {
fn f() {}
fn g() {
use Self::f; //~ ERROR unresolved import
pub(in Self::f) struct Z; //~ ERROR use of undeclared type or module `Self`
}
}
fn main() {}