rustc/tests/ui/generics/single-colon-path-not-const-generics.rs
2024-05-08 17:27:53 +02:00

14 lines
208 B
Rust

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