about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-10-05 16:41:11 +0000
committerGitHub <noreply@github.com>2021-10-05 16:41:11 +0000
commitc409cf0e26e035c5c1d94a8ec0da77ec0e1d8bab (patch)
tree64714504a8fe037529472e8bbfe01e70e7eb9e02 /src/test/codegen
parent86c534f244bd72dc9e9ec1be0bfdf0131602ca30 (diff)
parent041cfbe0f46c7f565ce1828857d35adb9cf2d7e7 (diff)
downloadrust-c409cf0e26e035c5c1d94a8ec0da77ec0e1d8bab.tar.gz
rust-c409cf0e26e035c5c1d94a8ec0da77ec0e1d8bab.zip
Merge #10458
10458: feat: Implement custom user snippets r=Veykril a=Veykril

![Y24dX7fOWX](https://user-images.githubusercontent.com/3757771/136059454-ceccfc2c-2c90-46da-8ad1-bac9c2e83ec1.gif)

Allows us to address the following issues:
    - `.arc / .rc / .pin, similar to .box?` https://github.com/rust-analyzer/rust-analyzer/issues/7033
    - `Add unsafe snippet` https://github.com/rust-analyzer/rust-analyzer/issues/10392, would allow users to have this without the diagnostic)
    - `.ok() postfix snippet is annoying` https://github.com/rust-analyzer/rust-analyzer/issues/9636, allows us to get rid of the `ok` postfix and similar ones
    - `Postfix vec completion` https://github.com/rust-analyzer/rust-analyzer/issues/7773

cc https://github.com/rust-analyzer/rust-analyzer/issues/772

Zulipd discussion: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/Custom.20Postfix.20snippets

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions