Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
generics
/
single-colon-path-not-const-generics.rs
blob: dff00b0b7200752cf4aa6de58e701f45b92d30a5 [
file
] [
log
] [
blame
]
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
()
{}