rust-analyzer/crates
bors 2d9ed4fd48 Auto merge of #13641 - DesmondWillowbrook:fix-move-format-string, r=Veykril
fix: format expression parsing edge-cases

- Handle positional arguments with formatting options (i.e. `{:b}`). Previously copied `:b` as an argument, producing broken code.

- Handle indexed positional arguments (`{0}`) ([reference](https://doc.rust-lang.org/std/fmt/#positional-parameters)). Previously copied over `0` as an argument.

Note: the assist also breaks when named arguments are used (`"{name}$0", name = 2 + 2` is converted to `"{}"$0, name`. I'm working on fix for that as well.
2022-11-19 12:46:29 +00:00
..
base-db Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
cfg Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
flycheck Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
hir Don't canonicalize self type when querying FnOnce signature 2022-11-08 18:05:07 +01:00
hir-def fix: Add trait alias grammar to rust.ungram 2022-11-11 15:25:15 +01:00
hir-expand Auto merge of #13548 - lowr:fix/tt-punct-spacing, r=Veykril 2022-11-11 12:19:30 +00:00
hir-ty fix: resolve inference variable before applying adjustments 2022-11-16 20:01:55 +09:00
ide Auto merge of #13604 - Veykril:hover-attr, r=Veykril 2022-11-11 12:48:48 +00:00
ide-assists Auto merge of #13641 - DesmondWillowbrook:fix-move-format-string, r=Veykril 2022-11-19 12:46:29 +00:00
ide-completion Strip comments and attributes off of all trait item completions 2022-11-15 12:41:39 +01:00
ide-db run cargo fmt 2022-11-19 15:08:32 +05:30
ide-diagnostics fix: Fix nested macro diagnostics pointing at macro expansion files 2022-11-19 10:32:32 +01:00
ide-ssr Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
limit Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
mbe Auto merge of #13548 - lowr:fix/tt-punct-spacing, r=Veykril 2022-11-11 12:19:30 +00:00
parser Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
paths Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
proc-macro-api Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
proc-macro-srv Update proc-macro-srv tests 2022-11-17 01:42:56 +09:00
proc-macro-srv-cli Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
proc-macro-test Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
profile Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
project-model fix: Fix proc-macro-srv search paths for Arch Linux 2022-11-18 23:32:26 +01:00
rust-analyzer Auto merge of #13639 - Veykril:macro-diags, r=Veykril 2022-11-19 09:33:10 +00:00
sourcegen Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
stdx Update several crates to bring support for the new Tier 3 Windows targets 2022-11-13 22:45:09 +01:00
syntax fix: Add trait alias grammar to rust.ungram 2022-11-11 15:25:15 +01:00
test-utils Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
text-edit Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
toolchain Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
tt Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
vfs Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00
vfs-notify Bump Cargo rust-version fields to latest stable 2022-11-07 12:59:51 +01:00