mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
12 lines
188 B
Rust
12 lines
188 B
Rust
struct S;
|
|
|
|
impl S {
|
|
fn f() {}
|
|
fn g() {
|
|
use Self::f; //~ ERROR unresolved import
|
|
pub(in Self::f) struct Z; //~ ERROR failed to resolve: `Self`
|
|
}
|
|
}
|
|
|
|
fn main() {}
|