summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/single-colon-path-not-const-generics.rs
blob: 55a7ae0bb6d91efa71b081a50516bd7e8c785c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod foo {
    pub mod bar {
        pub struct A;
    }
}

pub struct Foo {
  a: Vec<foo::bar:A>,
  //~^ ERROR expected
  //~| HELP path separator
}

fn main() {}