summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/single-colon-path-not-const-generics.rs
blob: dff00b0b7200752cf4aa6de58e701f45b92d30a5 (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 path separator must be a double colon
  //~| HELP use a double colon instead
}

fn main() {}