1error: comparison operators cannot be chained
2  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:6:8
3   |
4LL |     foo<BAR + 3>();
5   |        ^       ^
6   |
7help: use `::<...>` instead of `<...>` to specify type or const arguments
8   |
9LL |     foo::<BAR + 3>();
10   |        ++
11
12error: comparison operators cannot be chained
13  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:9:8
14   |
15LL |     foo<BAR + BAR>();
16   |        ^         ^
17   |
18help: use `::<...>` instead of `<...>` to specify type or const arguments
19   |
20LL |     foo::<BAR + BAR>();
21   |        ++
22
23error: comparison operators cannot be chained
24  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:12:8
25   |
26LL |     foo<3 + 3>();
27   |        ^     ^
28   |
29help: use `::<...>` instead of `<...>` to specify type or const arguments
30   |
31LL |     foo::<3 + 3>();
32   |        ++
33
34error: comparison operators cannot be chained
35  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:15:8
36   |
37LL |     foo<BAR - 3>();
38   |        ^       ^
39   |
40help: use `::<...>` instead of `<...>` to specify type or const arguments
41   |
42LL |     foo::<BAR - 3>();
43   |        ++
44
45error: comparison operators cannot be chained
46  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:18:8
47   |
48LL |     foo<BAR - BAR>();
49   |        ^         ^
50   |
51help: use `::<...>` instead of `<...>` to specify type or const arguments
52   |
53LL |     foo::<BAR - BAR>();
54   |        ++
55
56error: comparison operators cannot be chained
57  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:21:8
58   |
59LL |     foo<100 - BAR>();
60   |        ^         ^
61   |
62help: use `::<...>` instead of `<...>` to specify type or const arguments
63   |
64LL |     foo::<100 - BAR>();
65   |        ++
66
67error: comparison operators cannot be chained
68  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:24:8
69   |
70LL |     foo<bar<i32>()>();
71   |        ^   ^
72   |
73help: use `::<...>` instead of `<...>` to specify type or const arguments
74   |
75LL |     foo::<bar<i32>()>();
76   |        ++
77
78error: expected one of `;` or `}`, found `>`
79  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:24:19
80   |
81LL |     foo<bar<i32>()>();
82   |                   ^ expected one of `;` or `}`
83
84error: comparison operators cannot be chained
85  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:28:8
86   |
87LL |     foo<bar::<i32>()>();
88   |        ^            ^
89   |
90help: use `::<...>` instead of `<...>` to specify type or const arguments
91   |
92LL |     foo::<bar::<i32>()>();
93   |        ++
94
95error: comparison operators cannot be chained
96  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:31:8
97   |
98LL |     foo<bar::<i32>() + BAR>();
99   |        ^                  ^
100   |
101help: use `::<...>` instead of `<...>` to specify type or const arguments
102   |
103LL |     foo::<bar::<i32>() + BAR>();
104   |        ++
105
106error: comparison operators cannot be chained
107  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:34:8
108   |
109LL |     foo<bar::<i32>() - BAR>();
110   |        ^                  ^
111   |
112help: use `::<...>` instead of `<...>` to specify type or const arguments
113   |
114LL |     foo::<bar::<i32>() - BAR>();
115   |        ++
116
117error: comparison operators cannot be chained
118  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:37:8
119   |
120LL |     foo<BAR - bar::<i32>()>();
121   |        ^                  ^
122   |
123help: use `::<...>` instead of `<...>` to specify type or const arguments
124   |
125LL |     foo::<BAR - bar::<i32>()>();
126   |        ++
127
128error: comparison operators cannot be chained
129  --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:40:8
130   |
131LL |     foo<BAR - bar::<i32>()>();
132   |        ^                  ^
133   |
134help: use `::<...>` instead of `<...>` to specify type or const arguments
135   |
136LL |     foo::<BAR - bar::<i32>()>();
137   |        ++
138
139error: aborting due to 13 previous errors
140
141