You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/test/ui/const-generics/min_const_generics/const-expression-suggest-missing-braces-without-turbofish.stderr
+12-12
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error: comparison operators cannot be chained
4
4
LL | foo<BAR + 3>();
5
5
| ^ ^
6
6
|
7
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
7
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
8
8
|
9
9
LL | foo::<BAR + 3>();
10
10
| ++
@@ -15,7 +15,7 @@ error: comparison operators cannot be chained
15
15
LL | foo<BAR + BAR>();
16
16
| ^ ^
17
17
|
18
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
18
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
19
19
|
20
20
LL | foo::<BAR + BAR>();
21
21
| ++
@@ -26,7 +26,7 @@ error: comparison operators cannot be chained
26
26
LL | foo<3 + 3>();
27
27
| ^ ^
28
28
|
29
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
29
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
30
30
|
31
31
LL | foo::<3 + 3>();
32
32
| ++
@@ -37,7 +37,7 @@ error: comparison operators cannot be chained
37
37
LL | foo<BAR - 3>();
38
38
| ^ ^
39
39
|
40
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
40
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
41
41
|
42
42
LL | foo::<BAR - 3>();
43
43
| ++
@@ -48,7 +48,7 @@ error: comparison operators cannot be chained
48
48
LL | foo<BAR - BAR>();
49
49
| ^ ^
50
50
|
51
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
51
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
52
52
|
53
53
LL | foo::<BAR - BAR>();
54
54
| ++
@@ -59,7 +59,7 @@ error: comparison operators cannot be chained
59
59
LL | foo<100 - BAR>();
60
60
| ^ ^
61
61
|
62
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
62
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
63
63
|
64
64
LL | foo::<100 - BAR>();
65
65
| ++
@@ -70,7 +70,7 @@ error: comparison operators cannot be chained
70
70
LL | foo<bar<i32>()>();
71
71
| ^ ^
72
72
|
73
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
73
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
74
74
|
75
75
LL | foo::<bar<i32>()>();
76
76
| ++
@@ -87,7 +87,7 @@ error: comparison operators cannot be chained
87
87
LL | foo<bar::<i32>()>();
88
88
| ^ ^
89
89
|
90
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
90
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
91
91
|
92
92
LL | foo::<bar::<i32>()>();
93
93
| ++
@@ -98,7 +98,7 @@ error: comparison operators cannot be chained
98
98
LL | foo<bar::<i32>() + BAR>();
99
99
| ^ ^
100
100
|
101
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
101
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
102
102
|
103
103
LL | foo::<bar::<i32>() + BAR>();
104
104
| ++
@@ -109,7 +109,7 @@ error: comparison operators cannot be chained
109
109
LL | foo<bar::<i32>() - BAR>();
110
110
| ^ ^
111
111
|
112
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
112
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
113
113
|
114
114
LL | foo::<bar::<i32>() - BAR>();
115
115
| ++
@@ -120,7 +120,7 @@ error: comparison operators cannot be chained
120
120
LL | foo<BAR - bar::<i32>()>();
121
121
| ^ ^
122
122
|
123
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
123
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
124
124
|
125
125
LL | foo::<BAR - bar::<i32>()>();
126
126
| ++
@@ -131,7 +131,7 @@ error: comparison operators cannot be chained
131
131
LL | foo<BAR - bar::<i32>()>();
132
132
| ^ ^
133
133
|
134
-
help: use `::<...>` instead of `<...>` to specify type or const arguments
134
+
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
0 commit comments