about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorA4-Tacks <wdsjxhno1001@163.com>2025-08-04 22:44:55 +0800
committerA4-Tacks <wdsjxhno1001@163.com>2025-08-04 22:47:43 +0800
commit0e44b50dbef4c8ac2520576543fcbfff7d6d99e6 (patch)
treeab7f541bed23c43a2586c8139bb696144d7b0407 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd976ef8ae494cc8fd6672d43c49377e43c2876b5 (diff)
downloadrust-0e44b50dbef4c8ac2520576543fcbfff7d6d99e6.tar.gz
rust-0e44b50dbef4c8ac2520576543fcbfff7d6d99e6.zip
Add if..else completions in LetStmt and ArgList
Example
===
```rust
let x = $0;
```

Old completions:

```rust
let x = if $1 {
    $0
};
```

This PR current completions:

```rust
let x = if $1 {
    $2
} else {
    $0
};
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions