1 error: comparison operators cannot be chained
2 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:6:8
7 help: use `::<...>` instead of `<...>` to specify type or const arguments
12 error: comparison operators cannot be chained
13 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:9:8
15 LL | foo<BAR + BAR>();
18 help: use `::<...>` instead of `<...>` to specify type or const arguments
20 LL | foo::<BAR + BAR>();
23 error: comparison operators cannot be chained
24 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:12:8
29 help: use `::<...>` instead of `<...>` to specify type or const arguments
34 error: comparison operators cannot be chained
35 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:15:8
40 help: use `::<...>` instead of `<...>` to specify type or const arguments
42 LL | foo::<BAR - 3>();
45 error: comparison operators cannot be chained
46 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:18:8
48 LL | foo<BAR - BAR>();
51 help: use `::<...>` instead of `<...>` to specify type or const arguments
53 LL | foo::<BAR - BAR>();
56 error: comparison operators cannot be chained
57 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:21:8
59 LL | foo<100 - BAR>();
62 help: use `::<...>` instead of `<...>` to specify type or const arguments
64 LL | foo::<100 - BAR>();
67 error: comparison operators cannot be chained
68 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:24:8
70 LL | foo<bar<i32>()>();
73 help: use `::<...>` instead of `<...>` to specify type or const arguments
75 LL | foo::<bar<i32>()>();
78 error: expected one of `;` or `}`, found `>`
79 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:24:19
81 LL | foo<bar<i32>()>();
82 | ^ expected one of `;` or `}`
84 error: comparison operators cannot be chained
85 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:28:8
87 LL | foo<bar::<i32>()>();
90 help: use `::<...>` instead of `<...>` to specify type or const arguments
92 LL | foo::<bar::<i32>()>();
95 error: comparison operators cannot be chained
96 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:31:8
98 LL | foo<bar::<i32>() + BAR>();
101 help: use `::<...>` instead of `<...>` to specify type or const arguments
103 LL | foo::<bar::<i32>() + BAR>();
106 error: comparison operators cannot be chained
107 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:34:8
109 LL | foo<bar::<i32>() - BAR>();
112 help: use `::<...>` instead of `<...>` to specify type or const arguments
114 LL | foo::<bar::<i32>() - BAR>();
117 error: comparison operators cannot be chained
118 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:37:8
120 LL | foo<BAR - bar::<i32>()>();
123 help: use `::<...>` instead of `<...>` to specify type or const arguments
125 LL | foo::<BAR - bar::<i32>()>();
128 error: comparison operators cannot be chained
129 --> $DIR/const-expression-suggest-missing-braces-without-turbofish.rs:40:8
131 LL | foo<BAR - bar::<i32>()>();
134 help: use `::<...>` instead of `<...>` to specify type or const arguments
136 LL | foo::<BAR - bar::<i32>()>();
139 error: aborting due to 13 previous errors