rust/crates/syntax/src
bors a512774fd9 Auto merge of #14752 - ponyii:fix/generate_derive_breaks_indentation, r=Veykril
fix: assists no longer break indentation

Fixes https://github.com/rust-lang/rust-analyzer/issues/14674

These are _ad hoc_ patches for a number of assists that can produce incorrectly indented code, namely:
- generate_derive
- add_missing_impl_members
- add_missing_default_members

Some general solution is required in future, as the same problem arises in many other assists, e.g.
- replace_derive_with...
- generate_default_from_enum...
- generate_default_from_new
- generate_delegate_methods
(the list is incomplete)
2023-05-24 18:58:07 +00:00
..
ast Auto merge of #14752 - ponyii:fix/generate_derive_breaks_indentation, r=Veykril 2023-05-24 18:58:07 +00:00
parsing Support c string literals 2023-05-18 11:06:05 +02:00
tests Support c string literals 2023-05-18 11:06:05 +02:00
validation Add semicolons for consistency 2021-10-03 23:39:43 +11:00
algo.rs use inline format args 2023-01-02 14:52:32 +00:00
ast.rs refactor: leverage HasAttrs for code brevity 2023-03-04 00:24:03 +09:00
fuzz.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
hacks.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
lib.rs Use triomphe Arc 2023-05-02 20:02:43 +03:00
parsing.rs dead code 2021-12-28 19:13:30 +03:00
ptr.rs Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
syntax_error.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
syntax_node.rs suppress lint 2023-01-10 07:06:26 +00:00
ted.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
tests.rs remove needless borrows 2023-01-02 14:52:32 +00:00
token_text.rs Bump smol-str 2023-04-11 14:39:19 +02:00
utils.rs Make is_raw_identifier() public util function 2023-02-13 18:43:59 +09:00
validation.rs Support c string literals 2023-05-18 11:06:05 +02:00