fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
249 B19 linesraw
1// run-rustfix
2trait T {
3    type Ty;
4}
5
6struct Impl;
7
8impl T for Impl {
9    type Ty = u32;
10}
11
12fn template<T>() -> i64 {
13    3
14}
15
16fn main() {
17    template::<<Impl as T>::Ty>();
18    //~^ ERROR found single colon before projection in qualified path
19}