@@ -2,7 +2,7 @@ error[E0277]: the trait bound `W: std::marker::Sized` is not satisfied
2
2
--> $DIR/unsized-enum2.rs:33:8
3
3
|
4
4
LL | 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
6
6
|
7
7
= help: the trait `std::marker::Sized` is not implemented for `W`
8
8
= 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
22
22
--> $DIR/unsized-enum2.rs:35:15
23
23
|
24
24
LL | 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
26
26
|
27
27
= help: the trait `std::marker::Sized` is not implemented for `Y`
28
28
= 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
42
42
--> $DIR/unsized-enum2.rs:39:8
43
43
|
44
44
LL | 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
46
46
|
47
47
= help: the trait `std::marker::Sized` is not implemented for `[u8]`
48
48
= 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
60
60
--> $DIR/unsized-enum2.rs:41:15
61
61
|
62
62
LL | 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
64
64
|
65
65
= help: the trait `std::marker::Sized` is not implemented for `[f32]`
66
66
= 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
78
78
--> $DIR/unsized-enum2.rs:51:8
79
79
|
80
80
LL | 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
82
82
|
83
83
= help: the trait `std::marker::Sized` is not implemented for `Foo + 'static`
84
84
= 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
96
96
--> $DIR/unsized-enum2.rs:53:15
97
97
|
98
98
LL | 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
100
100
|
101
101
= help: the trait `std::marker::Sized` is not implemented for `FooBar + 'static`
102
102
= 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
114
114
--> $DIR/unsized-enum2.rs:57:8
115
115
|
116
116
LL | 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
118
118
|
119
119
= help: the trait `std::marker::Sized` is not implemented for `[i8]`
120
120
= 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
132
132
--> $DIR/unsized-enum2.rs:60:15
133
133
|
134
134
LL | 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
136
136
|
137
137
= help: the trait `std::marker::Sized` is not implemented for `[f64]`
138
138
= 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
150
150
--> $DIR/unsized-enum2.rs:45:8
151
151
|
152
152
LL | 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
154
154
|
155
155
= help: within `Path1`, the trait `std::marker::Sized` is not implemented for `PathHelper1 + 'static`
156
156
= 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
170
170
--> $DIR/unsized-enum2.rs:47:15
171
171
|
172
172
LL | 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
174
174
|
175
175
= help: within `Path3`, the trait `std::marker::Sized` is not implemented for `PathHelper3 + 'static`
176
176
= note: required because it appears within the type `Path3`
0 commit comments