mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-29 07:08:14 +00:00
16 lines
362 B
Plaintext
16 lines
362 B
Plaintext
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
|
|
|