rust/tests/ui/generics/single-colon-path-not-const-generics.rs
2023-01-11 09:32:08 +00:00

14 lines
167 B
Rust

pub mod foo {
pub mod bar {
pub struct A;
}
}
pub struct Foo {
a: Vec<foo::bar:A>,
//~^ ERROR expected
//~| HELP path separator
}
fn main() {}