summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/inner_type2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/inner_type2.rs')
-rw-r--r--src/test/ui/suggestions/inner_type2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/suggestions/inner_type2.rs b/src/test/ui/suggestions/inner_type2.rs
index c56ea7c03..fac68c053 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
}