mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
feat: Add break and return postfix keyword completions
This commit is contained in:
parent
6655960186
commit
15bffe25bd
15 changed files with 256 additions and 116 deletions
|
@ -328,7 +328,6 @@ pub mod convert {
|
|||
}
|
||||
|
||||
pub mod mem {
|
||||
// region:drop
|
||||
// region:manually_drop
|
||||
#[lang = "manually_drop"]
|
||||
#[repr(transparent)]
|
||||
|
@ -353,6 +352,7 @@ pub mod mem {
|
|||
|
||||
// endregion:manually_drop
|
||||
|
||||
// region:drop
|
||||
pub fn drop<T>(_x: T) {}
|
||||
pub const fn replace<T>(dest: &mut T, src: T) -> T {
|
||||
unsafe {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue