| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-06-03 | Simplify | Lukas Wirth | -33/+31 | |
| 2024-06-03 | Deduplicate | Lukas Wirth | -30/+20 | |
| 2024-06-03 | Fix find_path search not reducing scope appropriately for foreign items | Lukas Wirth | -12/+18 | |
| 2024-06-03 | Simplify | Lukas Wirth | -149/+113 | |
| 2024-06-03 | Auto merge of #17329 - Nilstrieb:rustc_deprecated_safe_2024, r=Veykril | bors | -0/+23 | |
| Don't mark `#[rustc_deprecated_safe_2024]` functions as unsafe `std::env::set_var` will be unsafe in edition 2024, but not before it. I couldn't quite figure out how to check for the span properly, so for now we just turn the false positives into false negatives, which are less bad. | ||||
| 2024-06-03 | Auto merge of #17315 - hamirmahal:style/simplify-string-interpolation, r=Veykril | bors | -79/+71 | |
| style: simplify string interpolation | ||||
| 2024-06-03 | Auto merge of #17312 - regexident:function-fn-ptr-type, r=Veykril | bors | -0/+8 | |
| Add `Function::fn_ptr_type(…)` for obtaining name-erased function type The use case of this function if being able to group functions by their function ptr type. cc `@flodiebold` | ||||
| 2024-06-03 | Auto merge of #17333 - DropDemBits:extract-format-args-snippet-cap, r=Veykril | bors | -68/+189 | |
| fix: Only generate snippets for `extract_expressions_from_format_string` if snippets are supported Part of #17332 Fixes `extract_expressions_from_format_string` so that it doesn't generate snippets if the client doesn't support it. | ||||
| 2024-06-02 | Add path info to `AbsPathBuf::assert`'s assert | Lukas Wirth | -1/+1 | |
| 2024-06-02 | fix typos & formatting | DropDemBits | -3/+7 | |
| 2024-06-02 | Make `extract_expressions_from_format_string` only use snippets when available | DropDemBits | -55/+98 | |
| 2024-06-02 | Add `ast::Expr::parse` | DropDemBits | -0/+32 | |
| 2024-06-02 | minor: tidy up `Parse` a little bit | DropDemBits | -11/+10 | |
| - Add doc comments to some `Parse` methods - Uses `Parse::new` more | ||||
| 2024-06-02 | Add `tt_from_syntax` | DropDemBits | -2/+45 | |
| Used for inserting syntax nodes into existing token trees | ||||
| 2024-06-02 | Don't mark `#[rustc_deprecated_safe_2024]` functions as unsafe | Nilstrieb | -0/+23 | |
| `std::env::set_var` will be unsafe in edition 2024, but not before it. I couldn't quite figure out how to check for the span properly, so for now we just turn the false positives into false negatives, which are less bad. | ||||
| 2024-06-02 | Auto merge of #17328 - Veykril:derive-helper-completions, r=Veykril | bors | -98/+209 | |
| feat: Enable completions within derive helper attributes  | ||||
| 2024-06-02 | feat: Enable completions within derive helper attributes | Lukas Wirth | -98/+209 | |
| 2024-06-01 | Auto merge of #17326 - Veykril:fix-attr-derive-container, r=Veykril | bors | -40/+48 | |
| fix: Fix container search failing for tokens originating within derive attributes | ||||
| 2024-06-01 | fix: Fix container search failing for tokens originating within derive ↵ | Lukas Wirth | -40/+48 | |
| attributes | ||||
| 2024-06-01 | Auto merge of #17302 - mladedav:dm/fix-clear, r=Veykril | bors | -13/+30 | |
| fix diagnostics clearing when flychecks run per-workspace This might be causing #17300 or it's a different bug with the same functionality. I wonder if the decision to clear diagnostics should stay in the main loop or maybe the flycheck itself should track it and tell the mainloop? I have used a hash map but we could just as well use a vector since the IDs are `usizes` in some given range starting at 0. It would be probably faster but this just felt a bit cleaner and it allows us to change the ID to newtype later and we can just use a hasher that returns the underlying integer. | ||||
| 2024-06-01 | Move state trackig of diagnostic clearing inside `FlycheckActor` | David Mládek | -41/+31 | |
| 2024-06-01 | Auto merge of #17278 - chenx97:flycheck-process-wrap, r=lnicola | bors | -45/+73 | |
| internal: replace command-group with process-wrap Because command-group no longer receives updates and depends on an older version of nix. | ||||
| 2024-05-31 | docs: Missing word typo | Luke Franceschini | -1/+1 | |
| 2024-05-31 | minor: replace command-group with process-wrap | Henry Chen | -45/+73 | |
| Because command-group no longer receives updates and depends on an older version of nix. | ||||
| 2024-05-30 | fix: formatting in `handlers/unresolved_method.rs` | Hamir Mahal | -2/+1 | |
| 2024-05-30 | style: simplify string interpolation | Hamir Mahal | -78/+71 | |
| 2024-05-29 | Add `Function::fn_ptr_type(…)` for obtaining name-erased function type | Vincent Esche | -0/+8 | |
| 2024-05-28 | Add preference modifier for workspace-local crates when using auto import. | Mathew Horner | -1/+46 | |
| 2024-05-28 | add `FlycheckStatus` to global state | David Mládek | -7/+34 | |
| 2024-05-28 | fix diagnostics clearing when flychecks run per-workspace | David Mládek | -6/+6 | |
| 2024-05-27 | Auto merge of #17258 - maxwase:code-assist-async-sugar, r=Veykril | bors | -0/+644 | |
| Add `toggle_async_sugar` assist code action Implement code action for sugaring and de-sugaring asynchronous functions. This code action does not import `Future` trait when de-sugaring and does not touch function boby, I guess this can be implemented later if needed. This action also does not take into consideration other bounds because IMO it's usually "let me try to use sugared version here". Feel free to request changes, that's my first code action implementation 😄 Closes #17010 Relates to #16195 | ||||
| 2024-05-27 | Auto merge of #17253 - ThouCheese:master, r=Veykril | bors | -0/+702 | |
| Implement assist to switch between doc and normal comments Hey first PR to rust-analyzer to get my feet wet with the code base. It's an assist to switch a normal comment to a doc comment and back, something I've found myself doing by hand a couple of times. I shamelessly stole `relevant_line_comments` from `convert_comment_block`, because I didn't see any inter-assist imports happening in the files I peeked at so I thought this would be preferable. | ||||
| 2024-05-27 | Auto merge of #17291 - kilpkonn:master, r=Veykril | bors | -5/+19 | |
| Fix `data_constructor` ignoring generics for struct Previously didn't work for structs with generics due to `field.ty()` having placeholders in type. _Enums were handeled correctly already._ Also renamed `type_constructor -> data_constructor` as this is more correct name for it | ||||
| 2024-05-26 | Auto merge of #17296 - mathew-horner:no-clone-target, r=Veykril | bors | -3/+3 | |
| Avoid clone when constructing runnable label. I stumbled across this when reading this code. This seems like an unnecessary allocation (though likely small?) | ||||
| 2024-05-25 | Removed return | Jonas Rinke | -3/+4 | |
| 2024-05-25 | Avoid clone when constructing runnable label. | Mathew Horner | -3/+3 | |
| 2024-05-25 | Formatting | Jonas Rinke | -2/+2 | |
| 2024-05-25 | Semicolon | Jonas Rinke | -1/+1 | |
| 2024-05-25 | Use correct format for setting environment variables when debugging with ↵ | Jonas Rinke | -1/+3 | |
| cpptools | ||||
| 2024-05-25 | Fix `data_constructor` ignoring generics for struct | Tavo Annus | -5/+19 | |
| 2024-05-24 | remove nested match with and_then | Luuk Wester | -4/+1 | |
| 2024-05-24 | add test for every keyword, fix bug | Luuk Wester | -16/+94 | |
| 2024-05-24 | cosmetic and performance fixes, and drop support for adding //! comments ↵ | Luuk Wester | -113/+78 | |
| anywhere, except for at the top of files. | ||||
| 2024-05-24 | Review fixes: Assist scope, trait qualify | maxwase | -45/+126 | |
| 2024-05-24 | Review fixes: Split into 2, check tuple fields | maxwase | -57/+137 | |
| 2024-05-24 | Add toggle_async_sugar assist code action | maxwase | -0/+483 | |
| 2024-05-24 | tests: update test for runnables | roife | -0/+93 | |
| 2024-05-24 | Update docs | roife | -1/+2 | |
| 2024-05-24 | Use cwd from runnable.args for debugger | roife | -3/+4 | |
| 2024-05-24 | Revert "Debug use cargo workspace root as cwd. fixes #13022" | roife | -32/+12 | |
| This reverts commit 4ca86edac97d47eecb78b16abf255950c10b67ca. | ||||
