rust/tests/ui/generics/single-colon-path-not-const-generics.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
167 B
Rust
Raw Normal View History

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