Skip to content

Commit

Permalink
Add newline
Browse files Browse the repository at this point in the history
  • Loading branch information
mejrs committed Sep 27, 2022
1 parent f3ac328 commit e9224b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/suggestions/inner_type.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion src/test/ui/suggestions/inner_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion src/test/ui/suggestions/inner_type2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit e9224b3

Please sign in to comment.