diff options
| author | Lukas Markeffsky <@> | 2023-06-14 19:22:03 +0200 |
|---|---|---|
| committer | Lukas Markeffsky <@> | 2023-06-15 12:01:38 +0200 |
| commit | b6a3f126c01d792c448f7b341352f591404bc19a (patch) | |
| tree | 69035b98bbf4396eb5c096de20669915f103ae28 /tests/ui/union | |
| parent | ee7e717322f83d4b055e15b9948c07dd59118a5c (diff) | |
| download | rust-b6a3f126c01d792c448f7b341352f591404bc19a.tar.gz rust-b6a3f126c01d792c448f7b341352f591404bc19a.zip | |
change `std::marker::Sized` to just `Sized`
Diffstat (limited to 'tests/ui/union')
| -rw-r--r-- | tests/ui/union/union-sized-field.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/union/union-sized-field.stderr b/tests/ui/union/union-sized-field.stderr index bf1ff9c8bc1..0a79f8bba01 100644 --- a/tests/ui/union/union-sized-field.stderr +++ b/tests/ui/union/union-sized-field.stderr @@ -2,7 +2,7 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim --> $DIR/union-sized-field.rs:4:12 | LL | union Foo<T: ?Sized> { - | - this type parameter needs to be `std::marker::Sized` + | - this type parameter needs to be `Sized` LL | value: ManuallyDrop<T>, | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | @@ -28,7 +28,7 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim --> $DIR/union-sized-field.rs:9:12 | LL | struct Foo2<T: ?Sized> { - | - this type parameter needs to be `std::marker::Sized` + | - this type parameter needs to be `Sized` LL | value: ManuallyDrop<T>, | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | @@ -54,7 +54,7 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim --> $DIR/union-sized-field.rs:15:11 | LL | enum Foo3<T: ?Sized> { - | - this type parameter needs to be `std::marker::Sized` + | - this type parameter needs to be `Sized` LL | Value(ManuallyDrop<T>), | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | |
