@@ -2,7 +2,7 @@ error[E0277]: the trait bound `W: std::marker::Sized` is not satisfied
22 --> $DIR/unsized-enum2.rs:33:8
33 |
44LL | VA(W), //~ ERROR `W: std::marker::Sized` is not satisfied
5- | ^^ `W` does not have a constant size known at compile-time
5+ | ^ `W` does not have a constant size known at compile-time
66 |
77 = help: the trait `std::marker::Sized` is not implemented for `W`
88 = help: consider adding a `where W: std::marker::Sized` bound
@@ -22,7 +22,7 @@ error[E0277]: the trait bound `Y: std::marker::Sized` is not satisfied
2222 --> $DIR/unsized-enum2.rs:35:15
2323 |
2424LL | VC(isize, Y), //~ ERROR `Y: std::marker::Sized` is not satisfied
25- | ^^ `Y` does not have a constant size known at compile-time
25+ | ^ `Y` does not have a constant size known at compile-time
2626 |
2727 = help: the trait `std::marker::Sized` is not implemented for `Y`
2828 = help: consider adding a `where Y: std::marker::Sized` bound
@@ -42,7 +42,7 @@ error[E0277]: the trait bound `[u8]: std::marker::Sized` is not satisfied
4242 --> $DIR/unsized-enum2.rs:39:8
4343 |
4444LL | VE([u8]), //~ ERROR `[u8]: std::marker::Sized` is not satisfied
45- | ^^^^^ `[u8]` does not have a constant size known at compile-time
45+ | ^^^^ `[u8]` does not have a constant size known at compile-time
4646 |
4747 = help: the trait `std::marker::Sized` is not implemented for `[u8]`
4848 = note: no field of an enum variant may have a dynamically sized type
@@ -60,7 +60,7 @@ error[E0277]: the trait bound `[f32]: std::marker::Sized` is not satisfied
6060 --> $DIR/unsized-enum2.rs:41:15
6161 |
6262LL | VG(isize, [f32]), //~ ERROR `[f32]: std::marker::Sized` is not satisfied
63- | ^^^^^^ `[f32]` does not have a constant size known at compile-time
63+ | ^^^^^ `[f32]` does not have a constant size known at compile-time
6464 |
6565 = help: the trait `std::marker::Sized` is not implemented for `[f32]`
6666 = note: no field of an enum variant may have a dynamically sized type
@@ -78,7 +78,7 @@ error[E0277]: the trait bound `Foo + 'static: std::marker::Sized` is not satisfi
7878 --> $DIR/unsized-enum2.rs:51:8
7979 |
8080LL | VM(Foo), //~ ERROR `Foo + 'static: std::marker::Sized` is not satisfied
81- | ^^^^ `Foo + 'static` does not have a constant size known at compile-time
81+ | ^^^ `Foo + 'static` does not have a constant size known at compile-time
8282 |
8383 = help: the trait `std::marker::Sized` is not implemented for `Foo + 'static`
8484 = note: no field of an enum variant may have a dynamically sized type
@@ -96,7 +96,7 @@ error[E0277]: the trait bound `FooBar + 'static: std::marker::Sized` is not sati
9696 --> $DIR/unsized-enum2.rs:53:15
9797 |
9898LL | VO(isize, FooBar), //~ ERROR `FooBar + 'static: std::marker::Sized` is not satisfied
99- | ^^^^^^^ `FooBar + 'static` does not have a constant size known at compile-time
99+ | ^^^^^^ `FooBar + 'static` does not have a constant size known at compile-time
100100 |
101101 = help: the trait `std::marker::Sized` is not implemented for `FooBar + 'static`
102102 = note: no field of an enum variant may have a dynamically sized type
@@ -114,7 +114,7 @@ error[E0277]: the trait bound `[i8]: std::marker::Sized` is not satisfied
114114 --> $DIR/unsized-enum2.rs:57:8
115115 |
116116LL | VQ(<&'static [i8] as Deref>::Target), //~ ERROR `[i8]: std::marker::Sized` is not satisfied
117- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[i8]` does not have a constant size known at compile-time
117+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[i8]` does not have a constant size known at compile-time
118118 |
119119 = help: the trait `std::marker::Sized` is not implemented for `[i8]`
120120 = note: no field of an enum variant may have a dynamically sized type
@@ -132,7 +132,7 @@ error[E0277]: the trait bound `[f64]: std::marker::Sized` is not satisfied
132132 --> $DIR/unsized-enum2.rs:60:15
133133 |
134134LL | VS(isize, <&'static [f64] as Deref>::Target),
135- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[f64]` does not have a constant size known at compile-time
135+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[f64]` does not have a constant size known at compile-time
136136 |
137137 = help: the trait `std::marker::Sized` is not implemented for `[f64]`
138138 = note: no field of an enum variant may have a dynamically sized type
@@ -150,7 +150,7 @@ error[E0277]: the trait bound `PathHelper1 + 'static: std::marker::Sized` is not
150150 --> $DIR/unsized-enum2.rs:45:8
151151 |
152152LL | VI(Path1), //~ ERROR `PathHelper1 + 'static: std::marker::Sized` is not satisfied
153- | ^^^^^^ `PathHelper1 + 'static` does not have a constant size known at compile-time
153+ | ^^^^^ `PathHelper1 + 'static` does not have a constant size known at compile-time
154154 |
155155 = help: within `Path1`, the trait `std::marker::Sized` is not implemented for `PathHelper1 + 'static`
156156 = note: required because it appears within the type `Path1`
@@ -170,7 +170,7 @@ error[E0277]: the trait bound `PathHelper3 + 'static: std::marker::Sized` is not
170170 --> $DIR/unsized-enum2.rs:47:15
171171 |
172172LL | VK(isize, Path3), //~ ERROR `PathHelper3 + 'static: std::marker::Sized` is not satisfied
173- | ^^^^^^ `PathHelper3 + 'static` does not have a constant size known at compile-time
173+ | ^^^^^ `PathHelper3 + 'static` does not have a constant size known at compile-time
174174 |
175175 = help: within `Path3`, the trait `std::marker::Sized` is not implemented for `PathHelper3 + 'static`
176176 = note: required because it appears within the type `Path3`
0 commit comments