Add newline

This commit is contained in:
mejrs 2022-09-27 23:12:52 +02:00
parent f3ac328d58
commit e9224b3796
3 changed files with 3 additions and 3 deletions

View File

@ -37,4 +37,4 @@ fn main() {
another_item.write().unwrap().some_mutable_method(); another_item.write().unwrap().some_mutable_method();
//~^ ERROR no method named `some_mutable_method` found for struct `RwLock` in the current scope [E0599] //~^ ERROR no method named `some_mutable_method` found for struct `RwLock` in the current scope [E0599]
//~| HELP use `.write()` to mutably borrow the `Struct<u32>`, blocking the current thread until it can be acquired //~| HELP use `.write()` to mutably borrow the `Struct<u32>`, blocking the current thread until it can be acquired
} }

View File

@ -37,4 +37,4 @@ fn main() {
another_item.some_mutable_method(); another_item.some_mutable_method();
//~^ ERROR no method named `some_mutable_method` found for struct `RwLock` in the current scope [E0599] //~^ ERROR no method named `some_mutable_method` found for struct `RwLock` in the current scope [E0599]
//~| HELP use `.write()` to mutably borrow the `Struct<u32>`, blocking the current thread until it can be acquired //~| HELP use `.write()` to mutably borrow the `Struct<u32>`, blocking the current thread until it can be acquired
} }

View File

@ -23,4 +23,4 @@ fn main() {
item.method(); item.method();
//~^ ERROR no method named `method` found for union `MaybeUninit` in the current scope [E0599] //~^ 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
} }