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/typeck/typeck_type_placeholder_item.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -443,7 +443,7 @@ error[E0121]: the placeholder `_` is not allowed within types on item signatures
443
443
LL | const _: _ = (1..10).filter(|x| x % 2 == 0).map(|x| x * x);
444
444
| ^ not allowed in type signatures
445
445
|
446
-
note: however, the inferred type `Map<Filter<std::ops::Range<i32>, [closure@$DIR/typeck_type_placeholder_item.rs:229:29: 229:32]>, [closure@$DIR/typeck_type_placeholder_item.rs:229:49: 229:52]>` cannot be named
446
+
note: however, the inferred type `Map<Filter<Range<i32>, [closure@typeck_type_placeholder_item.rs:229:29]>, [closure@typeck_type_placeholder_item.rs:229:49]>` cannot be named
447
447
--> $DIR/typeck_type_placeholder_item.rs:229:14
448
448
|
449
449
LL | const _: _ = (1..10).filter(|x| x % 2 == 0).map(|x| x * x);
0 commit comments