mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-07 15:37:39 +00:00
14 lines
189 B
Rust
14 lines
189 B
Rust
![]() |
pub mod foo {
|
||
|
pub mod bar {
|
||
|
pub struct A;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
pub struct Foo {
|
||
|
a: Vec<foo::bar:A>,
|
||
|
//~^ ERROR expected
|
||
|
//~| HELP you might have meant to write a path
|
||
|
}
|
||
|
|
||
|
fn main() {}
|