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: tests/ui/issues/issue-69455.stderr
+10-8
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
-
error[E0282]: type annotations needed
2
-
--> $DIR/issue-69455.rs:29:20
1
+
error[E0284]: type annotations needed
2
+
--> $DIR/issue-69455.rs:29:41
3
3
|
4
4
LL | println!("{}", 23u64.test(xs.iter().sum()));
5
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the associated function `new_display`
5
+
| ---- ^^^ cannot infer type of the type parameter `S` declared on the associated function `sum`
6
+
| |
7
+
| type must be known at this point
6
8
|
7
-
= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
9
+
= note: cannot satisfy `<u64 as Test<_>>::Output == _`
0 commit comments