blob: 96f07e190c1e27321650c92ca57841006026d5bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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: `::`
|
= note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>
error: aborting due to previous error
|