mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Add newline
This commit is contained in:
parent
f3ac328d58
commit
e9224b3796
@ -37,4 +37,4 @@ fn main() {
|
||||
another_item.write().unwrap().some_mutable_method();
|
||||
//~^ 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
|
||||
}
|
||||
}
|
||||
|
@ -37,4 +37,4 @@ fn main() {
|
||||
another_item.some_mutable_method();
|
||||
//~^ 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
|
||||
}
|
||||
}
|
||||
|
@ -23,4 +23,4 @@ fn main() {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user