diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2022-10-10 15:08:40 +0100 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2022-11-05 22:56:38 +0000 |
| commit | 7e38c8a750de95f66a6792c0cfe6fb25b8c5260a (patch) | |
| tree | 7477c0a494dbd9795274bcc558b6c8c4bde8af15 | |
| parent | 2553a9590c5980a0013789209f928ec065e44ca6 (diff) | |
Update UI test
| -rw-r--r-- | src/test/ui/suggestions/inner_type2.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/suggestions/inner_type2.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/suggestions/inner_type2.rs b/src/test/ui/suggestions/inner_type2.rs index c56ea7c030d..fac68c053eb 100644 --- a/src/test/ui/suggestions/inner_type2.rs +++ b/src/test/ui/suggestions/inner_type2.rs @@ -22,5 +22,5 @@ fn main() { let item = std::mem::MaybeUninit::new(Struct { p: 42_u32 }); item.method(); //~^ ERROR no method named `method` found for union `MaybeUninit` in the current scope [E0599] - //~| HELP if this `MaybeUninit::<Struct<u32>>` has been initialized, use one of the `assume_init` methods to access the inner value + //~| HELP if this `MaybeUninit<Struct<u32>>` has been initialized, use one of the `assume_init` methods to access the inner value } diff --git a/src/test/ui/suggestions/inner_type2.stderr b/src/test/ui/suggestions/inner_type2.stderr index eddfd9d6340..984366123c8 100644 --- a/src/test/ui/suggestions/inner_type2.stderr +++ b/src/test/ui/suggestions/inner_type2.stderr @@ -17,7 +17,7 @@ error[E0599]: no method named `method` found for union `MaybeUninit` in the curr LL | item.method(); | ^^^^^^ method not found in `MaybeUninit<Struct<u32>>` | - = help: if this `MaybeUninit::<Struct<u32>>` has been initialized, use one of the `assume_init` methods to access the inner value + = help: if this `MaybeUninit<Struct<u32>>` has been initialized, use one of the `assume_init` methods to access the inner value note: the method `method` exists on the type `Struct<u32>` --> $DIR/inner_type2.rs:6:5 | |
