about summary refs log tree commit diff
path: root/tests/ui/generics/single-colon-path-not-const-generics.stderr
blob: 163ea4bbda6cd136357e748302bfd34e4657bd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: path separator must be a double colon
  --> $DIR/single-colon-path-not-const-generics.rs:8:18
   |
LL | pub struct Foo {
   |            --- while parsing this struct
LL |   a: Vec<foo::bar:A>,
   |                  ^
   |
help: use a double colon instead
   |
LL |   a: Vec<foo::bar::A>,
   |                  +

error: aborting due to 1 previous error