mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-03 16:54:08 +00:00
10 lines
246 B
Rust
10 lines
246 B
Rust
mod foo {
|
|
type T = ();
|
|
struct S1(pub(in foo) (), pub(T), pub(crate) (), pub(((), T)));
|
|
struct S2(pub((foo)) ());
|
|
//~^ ERROR expected one of `)` or `,`, found `(`
|
|
//~| ERROR cannot find type `foo` in this scope
|
|
}
|
|
|
|
fn main() {}
|