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/traits/non_lifetime_binders/bad-sized-cond.stderr
+5-5
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,13 @@ LL | where
23
23
LL | for<V> V: Sized,
24
24
| ^^^^^ required by this bound in `foo`
25
25
26
-
error[E0277]: the size for values of type `Placeholder(Placeholder { universe: U3, name: Param(DefId(0:6 ~ bad_sized_cond[9450]::bar::V), "V") })` cannot be known at compilation time
26
+
error[E0277]: the size for values of type `V` cannot be known at compilation time
27
27
--> $DIR/bad-sized-cond.rs:20:5
28
28
|
29
29
LL | bar();
30
30
| ^^^ doesn't have a size known at compile-time
31
31
|
32
-
= help: the trait `Sized` is not implemented for `Placeholder(Placeholder { universe: U3, name: Param(DefId(0:6 ~ bad_sized_cond[9450]::bar::V), "V") })`
32
+
= help: the trait `Sized` is not implemented for `V`
33
33
= note: required for `V` to implement `IntoIterator`
34
34
note: required by a bound in `bar`
35
35
--> $DIR/bad-sized-cond.rs:12:15
@@ -40,13 +40,13 @@ LL | where
40
40
LL | for<V> V: IntoIterator,
41
41
| ^^^^^^^^^^^^ required by this bound in `bar`
42
42
43
-
error[E0277]: `Placeholder(Placeholder { universe: U3, name: Param(DefId(0:6 ~ bad_sized_cond[9450]::bar::V), "V") })` is not an iterator
43
+
error[E0277]: `V` is not an iterator
44
44
--> $DIR/bad-sized-cond.rs:20:5
45
45
|
46
46
LL | bar();
47
-
| ^^^ `Placeholder(Placeholder { universe: U3, name: Param(DefId(0:6 ~ bad_sized_cond[9450]::bar::V), "V") })` is not an iterator
47
+
| ^^^ `V` is not an iterator
48
48
|
49
-
= help: the trait `Iterator` is not implemented for `Placeholder(Placeholder { universe: U3, name: Param(DefId(0:6 ~ bad_sized_cond[9450]::bar::V), "V") })`
49
+
= help: the trait `Iterator` is not implemented for `V`
50
50
= note: required for `V` to implement `IntoIterator`
0 commit comments