-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtree update of rust-analyzer
#120916
Subtree update of rust-analyzer
#120916
Commits on Dec 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8dc66b5 - Browse repository at this point
Copy the full SHA 8dc66b5View commit details
Commits on Jan 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e0446a0 - Browse repository at this point
Copy the full SHA e0446a0View commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9e8a0fa - Browse repository at this point
Copy the full SHA 9e8a0faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd7706 - Browse repository at this point
Copy the full SHA 0fd7706View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9bef39 - Browse repository at this point
Copy the full SHA f9bef39View commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5fe3b75 - Browse repository at this point
Copy the full SHA 5fe3b75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d2d632 - Browse repository at this point
Copy the full SHA 6d2d632View commit details -
no incorrect case diagnostics for trait impl assoc functions and cons…
…ts except for pats in fn bodies
Configuration menu - View commit details
-
Copy full SHA for 0ffc088 - Browse repository at this point
Copy the full SHA 0ffc088View commit details -
Configuration menu - View commit details
-
Copy full SHA for 080d223 - Browse repository at this point
Copy the full SHA 080d223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d79e2 - Browse repository at this point
Copy the full SHA 46d79e2View commit details
Commits on Feb 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c0071ac - Browse repository at this point
Copy the full SHA c0071acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23aa872 - Browse repository at this point
Copy the full SHA 23aa872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e29104 - Browse repository at this point
Copy the full SHA 8e29104View commit details -
Configuration menu - View commit details
-
Copy full SHA for d761d86 - Browse repository at this point
Copy the full SHA d761d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1451270 - Browse repository at this point
Copy the full SHA 1451270View commit details
Commits on Feb 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8011b56 - Browse repository at this point
Copy the full SHA 8011b56View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8a3180 - Browse repository at this point
Copy the full SHA b8a3180View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38b5c8c - Browse repository at this point
Copy the full SHA 38b5c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bec1e0f - Browse repository at this point
Copy the full SHA bec1e0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97ecfe4 - Browse repository at this point
Copy the full SHA 97ecfe4View commit details -
Auto merge of rust-lang#16485 - Young-Flash:minor, r=lnicola
minor: polish warning msg sorry for this 😅 ![PixPin_2024-02-04_18-33-23](https://github.com/rust-lang/rust-analyzer/assets/71162630/9aaa49d7-34f4-4c78-b91c-e85550252e25)
Configuration menu - View commit details
-
Copy full SHA for 39ad79b - Browse repository at this point
Copy the full SHA 39ad79bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b3b6d - Browse repository at this point
Copy the full SHA 33b3b6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a607e1b - Browse repository at this point
Copy the full SHA a607e1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b45ee82 - Browse repository at this point
Copy the full SHA b45ee82View commit details
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f0428e5 - Browse repository at this point
Copy the full SHA f0428e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 983cce8 - Browse repository at this point
Copy the full SHA 983cce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26715a8 - Browse repository at this point
Copy the full SHA 26715a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec3f7b5 - Browse repository at this point
Copy the full SHA ec3f7b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4efdb47 - Browse repository at this point
Copy the full SHA 4efdb47View commit details -
Auto merge of rust-lang#16492 - lnicola:sync-from-rust, r=lnicola
internal: Sync from downstream
Configuration menu - View commit details
-
Copy full SHA for 06737ec - Browse repository at this point
Copy the full SHA 06737ecView commit details -
Auto merge of rust-lang#16480 - GnomedDev:remove-unused-visit_ids, r=…
…lnicola Remove unused Subtree::visit_ids function Completely unused, nothing else even shows up when searching for `visit_ids`.
Configuration menu - View commit details
-
Copy full SHA for 081cf02 - Browse repository at this point
Copy the full SHA 081cf02View commit details -
Auto merge of rust-lang#16474 - davidbarsky:david/import-on-the-fly-i…
…mprovements, r=lnicola internal: even more `tracing` As part of profiling completions, I added some additional spans and moved `TyBuilder::subst_for_def` closer to its usage site (the latter had a small impact on completion performance. Thanks for the tip, Lukas!)
Configuration menu - View commit details
-
Copy full SHA for 3e47532 - Browse repository at this point
Copy the full SHA 3e47532View commit details -
Auto merge of rust-lang#16482 - GnomedDev:boxed-subtree, r=lnicola
Swap Subtree::token_trees from Vec to boxed slice Performs one of the optimizations suggested in rust-lang#16325, but a little bit more. Boxed slices guarantee `shrink_to_fit` aswell as saving a pointer width as no capacity has to be stored. Most of the diff is: - Changing `vec![]` to `Box::new([])` - Changing initialize -> fill into fill -> into_boxed_slice - Working around the lack of an owned iterator or automatic iteration over a `Box<[T]>` I would like to use my own crate, [small-fixed-array](https://lib.rs/small-fixed-array), although I understand if it isn't mature enough for this. If I'm given the go ahead, I can rework this PR to use it instead.
Configuration menu - View commit details
-
Copy full SHA for 7fb639f - Browse repository at this point
Copy the full SHA 7fb639fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c495e3f - Browse repository at this point
Copy the full SHA c495e3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 864c3d5 - Browse repository at this point
Copy the full SHA 864c3d5View commit details -
Auto merge of rust-lang#16493 - Young-Flash:method_call_parser, r=Vey…
…kril fix: emit parser error for missing argument list close rust-lang/rust-analyzer#16362
Configuration menu - View commit details
-
Copy full SHA for cb37fcc - Browse repository at this point
Copy the full SHA cb37fccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53db37f - Browse repository at this point
Copy the full SHA 53db37fView commit details -
Auto merge of rust-lang#16470 - Veykril:clippy-disallow, r=lnicola
internal: Lint debug prints and disallowed types with clippy
Configuration menu - View commit details
-
Copy full SHA for 66cec4d - Browse repository at this point
Copy the full SHA 66cec4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9d1a0 - Browse repository at this point
Copy the full SHA ac9d1a0View commit details
Commits on Feb 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c2d2124 - Browse repository at this point
Copy the full SHA c2d2124View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba7b12e - Browse repository at this point
Copy the full SHA ba7b12eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2d4119 - Browse repository at this point
Copy the full SHA d2d4119View commit details -
Auto merge of rust-lang#16496 - matthiaskrgr:c, r=lnicola
minor: remove clones
Configuration menu - View commit details
-
Copy full SHA for 64411a4 - Browse repository at this point
Copy the full SHA 64411a4View commit details -
Auto merge of rust-lang#16499 - Nadrieril:update-pat-ana, r=lnicola
internal: Update rustc_pattern_analysis dependency Just bumping the dependency, as I've been making API changes over on the rustc side. More API changes incoming in the coming weeks. One benefit of this: we no longer abort in the `DeconstructedPat: Debug` impl, which means we can use `tracing` to investigate issues.
Configuration menu - View commit details
-
Copy full SHA for 6671d3c - Browse repository at this point
Copy the full SHA 6671d3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32f0a2f - Browse repository at this point
Copy the full SHA 32f0a2fView commit details -
Auto merge of rust-lang#16500 - lnicola:clippy-windows, r=lnicola
internal: run Clippy on Windows CC rust-lang/rust-analyzer#16413 (comment) ![image](https://github.com/rust-lang/rust-analyzer/assets/308347/3bb4c06b-6388-4b1e-81f5-f0c2fbc3302c)
Configuration menu - View commit details
-
Copy full SHA for 0dd62c0 - Browse repository at this point
Copy the full SHA 0dd62c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c41528 - Browse repository at this point
Copy the full SHA 2c41528View commit details -
Auto merge of rust-lang#16501 - lnicola:lete-snippet-docs, r=lnicola
minor: Add `lete` to postfix completion list
Configuration menu - View commit details
-
Copy full SHA for 1974e74 - Browse repository at this point
Copy the full SHA 1974e74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62cc4f9 - Browse repository at this point
Copy the full SHA 62cc4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7a0302 - Browse repository at this point
Copy the full SHA d7a0302View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57a4542 - Browse repository at this point
Copy the full SHA 57a4542View commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 159a03a - Browse repository at this point
Copy the full SHA 159a03aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6197d - Browse repository at this point
Copy the full SHA 0a6197dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc5823d - Browse repository at this point
Copy the full SHA bc5823dView commit details -
Configuration menu - View commit details
-
Copy full SHA for def5a1d - Browse repository at this point
Copy the full SHA def5a1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e339c65 - Browse repository at this point
Copy the full SHA e339c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 731b159 - Browse repository at this point
Copy the full SHA 731b159View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3688064 - Browse repository at this point
Copy the full SHA 3688064View commit details -
Auto merge of rust-lang#16503 - Veykril:salsa, r=Veykril
Move salsa fork in-tree No one else is supposed to rely on it anyways, this makes it easier to edit.
Configuration menu - View commit details
-
Copy full SHA for 2d2ddd3 - Browse repository at this point
Copy the full SHA 2d2ddd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97cd680 - Browse repository at this point
Copy the full SHA 97cd680View commit details -
Auto merge of rust-lang#16505 - Veykril:unit-salsa, r=Veykril
Optimize input queries that take no arguments There is no point in having a hashmap and extra lock for this, it is always only a single value. This might speed up some things by a tiny bit for our crate graph query.
Configuration menu - View commit details
-
Copy full SHA for 8628352 - Browse repository at this point
Copy the full SHA 8628352View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa9bc01 - Browse repository at this point
Copy the full SHA aa9bc01View commit details -
Auto merge of rust-lang#16506 - lnicola:bump-paths-filter, r=lnicola
minor: bump `paths-filter` Fixes a Node version warning.
Configuration menu - View commit details
-
Copy full SHA for ca44e1e - Browse repository at this point
Copy the full SHA ca44e1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79e4111 - Browse repository at this point
Copy the full SHA 79e4111View commit details -
Auto merge of rust-lang#16507 - clubby789:remove-ffi_returns_twice, r…
…=lnicola Remove `ffi_returns_twice` references This feature has just been [removed](rust-lang#120502)
Configuration menu - View commit details
-
Copy full SHA for c48f145 - Browse repository at this point
Copy the full SHA c48f145View commit details
Commits on Feb 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 81ea48a - Browse repository at this point
Copy the full SHA 81ea48aView commit details -
Auto merge of rust-lang#16509 - Veykril:hover-tuple-struct, r=Veykril
fix: Fix tuple structs not rendering visibility in their fields Fixes rust-lang/rust-analyzer#16508
Configuration menu - View commit details
-
Copy full SHA for bcc8a09 - Browse repository at this point
Copy the full SHA bcc8a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0258f60 - Browse repository at this point
Copy the full SHA 0258f60View commit details -
Auto merge of rust-lang#16510 - Veykril:single-package-check, r=Veykril
feat: Allow cargo check to run on only the current package cc rust-lang/rust-analyzer#13336, rust-lang/rust-analyzer#12882
Configuration menu - View commit details
-
Copy full SHA for ae89522 - Browse repository at this point
Copy the full SHA ae89522View commit details -
fix: Recover from missing argument in call expressions
Previously, when parsing an argument list with a missing argument (e.g., `(a, , b)` in `foo(a, , b)`), the parser would stop upon an unexpected token (at the second comma in the example), resulting in an incorrect parse tree. This commit improves error handling in such cases, ensuring a more accurate parse tree is built.
Configuration menu - View commit details
-
Copy full SHA for e865d45 - Browse repository at this point
Copy the full SHA e865d45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 974e69b - Browse repository at this point
Copy the full SHA 974e69bView commit details -
Auto merge of rust-lang#16124 - ohno418:call-expr-missing-arg, r=Veykril
fix: Recover from missing argument in call expressions Previously, when parsing an argument list with a missing argument (e.g., `(a, , b)` in `foo(a, , b)`), the parser would stop upon an unexpected token (at the second comma in the example), resulting in an incorrect parse tree. This commit improves error handling in such cases, ensuring a more accurate parse tree is built. --- Fixes rust-lang/rust-analyzer#15683.
Configuration menu - View commit details
-
Copy full SHA for 5c80ad0 - Browse repository at this point
Copy the full SHA 5c80ad0View commit details -
Auto merge of rust-lang#16134 - tvallotton:master, r=Veykril
fix: waker_getters tracking issue from 87021 for 96992. I was directed to make the fix here by this comment rust-lang#118960 (comment).
Configuration menu - View commit details
-
Copy full SHA for 6655960 - Browse repository at this point
Copy the full SHA 6655960View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bf6b16 - Browse repository at this point
Copy the full SHA 4bf6b16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91dab4d - Browse repository at this point
Copy the full SHA 91dab4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 545382d - Browse repository at this point
Copy the full SHA 545382dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15bffe2 - Browse repository at this point
Copy the full SHA 15bffe2View commit details -
Auto merge of rust-lang#16462 - Veykril:proc-error, r=Veykril
Better error message for when proc-macros have not yet been built Closes rust-lang/rust-analyzer#16331
Configuration menu - View commit details
-
Copy full SHA for ddf2611 - Browse repository at this point
Copy the full SHA ddf2611View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddddc9c - Browse repository at this point
Copy the full SHA ddddc9cView commit details -
Auto merge of rust-lang#16454 - Veykril:break-return-postfix, r=Veykril
feat: Add break and return postfix keyword completions
Configuration menu - View commit details
-
Copy full SHA for 82674e2 - Browse repository at this point
Copy the full SHA 82674e2View commit details -
Auto merge of rust-lang#16502 - davidsemakula:unnecessary-else-diagno…
…stic, r=Veykril feat: Add "unnecessary else" diagnostic and fix Fixes rust-lang#9457
Configuration menu - View commit details
-
Copy full SHA for e9d3565 - Browse repository at this point
Copy the full SHA e9d3565View commit details -
Auto merge of rust-lang#16477 - davidsemakula:trait-incorrect-case-di…
…agnostic, r=Veykril feat: Add incorrect case diagnostics for traits and their associated items Updates incorrect case diagnostic to: - Check traits and their associated items - Ignore trait implementations except for patterns in associated function bodies Also cleans up `hir-ty::diagnostics::decl_check` a bit (mostly to make it a bit more DRY and easier to maintain) Also fixes: rust-lang#8675 and fixes: rust-lang#8225
Configuration menu - View commit details
-
Copy full SHA for 0e5766b - Browse repository at this point
Copy the full SHA 0e5766bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dad0fdb - Browse repository at this point
Copy the full SHA dad0fdbView commit details -
Auto merge of rust-lang#16484 - Austaras:master, r=Veykril
fix: preserve where clause when builtin derive Closes rust-lang#16432.
Configuration menu - View commit details
-
Copy full SHA for 5812b69 - Browse repository at this point
Copy the full SHA 5812b69View commit details -
Auto merge of rust-lang#16487 - ShoyuVanilla:deref-generate-getter, r…
…=Veykril Remove unnecessary `.as_ref()` in generate getter assist Resolves rust-lang#12389
Configuration menu - View commit details
-
Copy full SHA for e071834 - Browse repository at this point
Copy the full SHA e071834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2987fac - Browse repository at this point
Copy the full SHA 2987facView commit details -
Configuration menu - View commit details
-
Copy full SHA for cad222f - Browse repository at this point
Copy the full SHA cad222fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98e6f43 - Browse repository at this point
Copy the full SHA 98e6f43View commit details -
Configuration menu - View commit details
-
Copy full SHA for a250c2d - Browse repository at this point
Copy the full SHA a250c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 602acfc - Browse repository at this point
Copy the full SHA 602acfcView commit details -
Auto merge of rust-lang#16460 - davidsemakula:trailing-return-diagnos…
…tic, r=Veykril feat: Add diagnostic with fix to replace trailing `return <val>;` with `<val>` Works for functions and closures. Ignores desugared return expressions (e.g. from desugared try operators). Fixes: rust-lang#10970 Completes: rust-lang#11020
Configuration menu - View commit details
-
Copy full SHA for e418c90 - Browse repository at this point
Copy the full SHA e418c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6330b02 - Browse repository at this point
Copy the full SHA 6330b02View commit details -
Auto merge of rust-lang#15863 - davidbarsky:davidbarsky/start-of-mono…
…repo-mode, r=Veykril feature: Create `UnindexedProject` notification to be sent to the client (Note that this branch contains commits from rust-lang/rust-analyzer#15830, which I'll rebase atop of as needed.) Based on the discussion in rust-lang/rust-analyzer#15837, I've added a notification and off-by-default toggle to send that notification from `handle_did_open_text_document`. I'm happy to rename/tweak this as needed. I've been using this for a little bit, and it does seem to cause a little bit more indexing/work in rust-analyzer, but it's something that I'll profile as needed, I think.
Configuration menu - View commit details
-
Copy full SHA for 1370784 - Browse repository at this point
Copy the full SHA 1370784View commit details
Commits on Feb 9, 2024
-
Use
GenericArgList
formake::impl{_trait}
`make::impl_` no longer merges generic params and args in order to be in line with `make::impl_`, which doesn't do it either.
Configuration menu - View commit details
-
Copy full SHA for 8c0661b - Browse repository at this point
Copy the full SHA 8c0661bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3924a0e - Browse repository at this point
Copy the full SHA 3924a0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e39257 - Browse repository at this point
Copy the full SHA 0e39257View commit details -
Shortcut version of `make::expr_path(make::path_unqualified(make::path_segment_self()))`
Configuration menu - View commit details
-
Copy full SHA for 039b3d0 - Browse repository at this point
Copy the full SHA 039b3d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0519414 - Browse repository at this point
Copy the full SHA 0519414View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1293a8 - Browse repository at this point
Copy the full SHA f1293a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab2233e - Browse repository at this point
Copy the full SHA ab2233eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e011715 - Browse repository at this point
Copy the full SHA e011715View commit details -
Add
AssocItemList::add_item_at_start
Needed to recreate the behavior of `generate_new` addding the `new` method at the start of the impl
Configuration menu - View commit details
-
Copy full SHA for e28f551 - Browse repository at this point
Copy the full SHA e28f551View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18ea09f - Browse repository at this point
Copy the full SHA 18ea09fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eebf17 - Browse repository at this point
Copy the full SHA 8eebf17View commit details -
All usages of `render_snippet` and `Cursor` have been removed as part of the migration
Configuration menu - View commit details
-
Copy full SHA for 1161082 - Browse repository at this point
Copy the full SHA 1161082View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05b8ccc - Browse repository at this point
Copy the full SHA 05b8cccView commit details -
Auto merge of rust-lang#16467 - DropDemBits:structured-snippet-migrat…
…e-6, r=DropDemBits internal: Migrate assists to the structured snippet API, part 6/7 Continuing from rust-lang#16082 Migrates the following assists: - `extract_function` - `generate_getter_or_setter` - `generate_impl` - `generate_new` - `replace_derive_with_manual_impl` Would've been the final PR in the structured snippet migration series, but I didn't notice that `generate_trait_from_impl` started to use `{insert,replace}_snippet` when I first started the migration 😅. This appears to be a pretty self-contained change, so I'll leave that for a separate future PR. This also removes the last usages of `render_snippet`, which was a follow up goal of rust-lang#11638. 🎉
Configuration menu - View commit details
-
Copy full SHA for 57fda12 - Browse repository at this point
Copy the full SHA 57fda12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d09d69 - Browse repository at this point
Copy the full SHA 2d09d69View commit details -
Auto merge of rust-lang#16517 - davidbarsky:david/fix-panic-in-genera…
…tion-function, r=Veykril internal: fix crash inside `filter_unnecessary_bounds` for a missing generic param `@Wilfred` reported a crash here shortly after reporting rust-lang/rust-analyzer#16516, which makes us think that the blast radius of ambiguities in Chalk can be larger than expected. This PR tries to be a bit more defensive as a result. (The 20th frame is the salient frame in the backtrace below.) <details> <summary>Backtrace of the crash</summary> ``` request handler panicked: no entry found for key backtrace: 0: stdx::panic_context::PanicContext::init::{{closure}}::{{closure}}::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/panic_context.rs:32:43 1: stdx::panic_context::with_backtrace::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/panic_context.rs:61:32 2: std::thread::local::LocalKey<T>::try_with at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/local.rs:270:16 3: std::thread::local::LocalKey<T>::with at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/local.rs:246:9 4: stdx::panic_context::with_backtrace at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/panic_context.rs:61:5 5: stdx::panic_context::PanicContext::init::{{closure}}::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/panic_context.rs:31:21 6: stdx::panic_context::with_ctx::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/panic_context.rs:53:20 7: std::thread::local::LocalKey<T>::try_with at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/local.rs:270:16 8: std::thread::local::LocalKey<T>::with at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/local.rs:246:9 9: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9 10: std::panicking::rust_panic_with_hook at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13 11: std::panicking::begin_panic_handler::{{closure}} at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13 12: std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18 13: rust_begin_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5 14: core::panicking::panic_fmt at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14 15: core::panicking::panic_display at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:178:5 16: core::panicking::panic_str at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:152:5 17: core::option::expect_failed at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/option.rs:1985:5 18: core::option::Option<T>::expect at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/option.rs:894:21 19: <std::collections::hash::map::HashMap<K,V,S> as core::ops::index::Index<&Q>>::index at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/collections/hash/map.rs:1341:23 20: ide_assists::handlers::generate_function::filter_unnecessary_bounds::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/handlers/generate_function.rs:911:71 21: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:305:13 22: core::option::Option<T>::map at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/option.rs:1072:29 23: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::next at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/iter/adapters/map.rs:103:26 24: ide_assists::handlers::generate_function::Graph::compute_reachable_nodes at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/handlers/generate_function.rs:1158:20 25: ide_assists::handlers::generate_function::filter_unnecessary_bounds at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/handlers/generate_function.rs:912:21 26: ide_assists::handlers::generate_function::fn_generic_params at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/handlers/generate_function.rs:640:5 27: ide_assists::handlers::generate_function::FunctionBuilder::from_call at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/handlers/generate_function.rs:283:13 28: ide_assists::handlers::generate_function::gen_fn at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/handlers/generate_function.rs:78:28 29: ide_assists::handlers::generate_function::generate_function at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/handlers/generate_function.rs:55:5 30: ide_assists::assists::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/lib.rs:99:9 31: <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::for_each at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/slice/iter/macros.rs:254:21 32: ide_assists::assists at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide-assists/src/lib.rs:98:5 33: ide::Analysis::assists_with_fixes::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide/src/lib.rs:667:27 34: ide::Analysis::with_db::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide/src/lib.rs:764:29 35: std::panicking::try::do_call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 36: std::panicking::try at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 37: std::panic::catch_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 38: salsa::Cancelled::catch at /var/twsvcscm/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-analyzer-salsa-0.17.0-pre.5/src/lib.rs:631:15 39: ide::Analysis::with_db at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide/src/lib.rs:764:9 40: ide::Analysis::assists_with_fixes at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/ide/src/lib.rs:656:9 41: rust_analyzer::handlers::request::handle_code_action at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/rust-analyzer/src/handlers/request.rs:1149:19 42: rust_analyzer::dispatch::RequestDispatcher::on_with_thread_intent::{{closure}}::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/rust-analyzer/src/dispatch.rs:198:54 43: std::panicking::try::do_call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 44: std::panicking::try at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 45: std::panic::catch_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 46: rust_analyzer::dispatch::RequestDispatcher::on_with_thread_intent::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/rust-analyzer/src/dispatch.rs:198:26 47: rust_analyzer::task_pool::TaskPool<T>::spawn::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/rust-analyzer/src/task_pool.rs:26:33 48: stdx::thread::pool::Pool::spawn::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/thread/pool.rs:82:13 49: core::ops::function::FnOnce::call_once{{vtable.shim}} at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 50: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 51: stdx::thread::pool::Pool::new::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/thread/pool.rs:61:29 52: stdx::thread::Builder::spawn::{{closure}} at /data/sandcastle/boxes/eden-trunk-hg-fbcode-fbsource/third-party/rust-analyzer/master/crates/stdx/src/thread.rs:66:13 53: std::sys_common::backtrace::__rust_begin_short_backtrace at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18 54: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17 55: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9 56: std::panicking::try::do_call at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40 57: std::panicking::try at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19 58: std::panic::catch_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14 59: std::thread::Builder::spawn_unchecked_::{{closure}} at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30 60: core::ops::function::FnOnce::call_once{{vtable.shim}} at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5 61: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 62: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9 63: std::sys::unix::thread::Thread::new::thread_start at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17 64: start_thread 65: clone3 ``` </details>
Configuration menu - View commit details
-
Copy full SHA for d24bb7e - Browse repository at this point
Copy the full SHA d24bb7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7669619 - Browse repository at this point
Copy the full SHA 7669619View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2601d19 - Browse repository at this point
Copy the full SHA 2601d19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e4171b - Browse repository at this point
Copy the full SHA 1e4171bView commit details -
Auto merge of rust-lang#16424 - dfireBird:let-stmt-guarded-return-ass…
…ist, r=Veykril implement convert to guarded return assist for `let` statement with type that implements `std::ops::Try` I've tried to implement the assist that rust-lang#16390 talked about If there are any improvements that I can make in implementation, please suggest them. ![Peek 2024-02-05 19-01](https://github.com/rust-lang/rust-analyzer/assets/40687700/d6af3222-4f23-4ade-a930-8a78cc75e821)
Configuration menu - View commit details
-
Copy full SHA for 65a6441 - Browse repository at this point
Copy the full SHA 65a6441View commit details -
Auto merge of rust-lang#16518 - tetsuharuohzeki:enable-some-minor-lin…
…ts, r=Veykril Enable some minor lints that we should tackles This enables these lint rules that are commented as we should tackle at some points. - non_canonical_clone_impl - non_canonical_partial_ord_impl - self_named_constructors
Configuration menu - View commit details
-
Copy full SHA for cdc3e83 - Browse repository at this point
Copy the full SHA cdc3e83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3365e50 - Browse repository at this point
Copy the full SHA 3365e50View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3e60e7 - Browse repository at this point
Copy the full SHA a3e60e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for adddd14 - Browse repository at this point
Copy the full SHA adddd14View commit details -
Configuration menu - View commit details
-
Copy full SHA for d45cabd - Browse repository at this point
Copy the full SHA d45cabdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6637f3 - Browse repository at this point
Copy the full SHA c6637f3View commit details -
Auto merge of rust-lang#16519 - tetsuharuohzeki:more-lint, r=lnicola
Enable some minor lints that we should tackles (take2) This enables these lints: - borrowed_box - derived_hash_with_manual_eq - forget_non_drop - needless_doctest_main
Configuration menu - View commit details
-
Copy full SHA for bb0de88 - Browse repository at this point
Copy the full SHA bb0de88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c2f301 - Browse repository at this point
Copy the full SHA 8c2f301View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9a315f - Browse repository at this point
Copy the full SHA a9a315fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99f5d7c - Browse repository at this point
Copy the full SHA 99f5d7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb95ee3 - Browse repository at this point
Copy the full SHA cb95ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d580b2c - Browse repository at this point
Copy the full SHA d580b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eba1b13 - Browse repository at this point
Copy the full SHA eba1b13View commit details -
Configuration menu - View commit details
-
Copy full SHA for d00f1c1 - Browse repository at this point
Copy the full SHA d00f1c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d1f283 - Browse repository at this point
Copy the full SHA 5d1f283View commit details -
Configuration menu - View commit details
-
Copy full SHA for b89a403 - Browse repository at this point
Copy the full SHA b89a403View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80e6842 - Browse repository at this point
Copy the full SHA 80e6842View commit details -
Configuration menu - View commit details
-
Copy full SHA for 395708d - Browse repository at this point
Copy the full SHA 395708dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4a4b66 - Browse repository at this point
Copy the full SHA f4a4b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb8c0f5 - Browse repository at this point
Copy the full SHA fb8c0f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae78dca - Browse repository at this point
Copy the full SHA ae78dcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8071325 - Browse repository at this point
Copy the full SHA 8071325View commit details -
Configuration menu - View commit details
-
Copy full SHA for edda6b8 - Browse repository at this point
Copy the full SHA edda6b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f474bd7 - Browse repository at this point
Copy the full SHA f474bd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81c35d1 - Browse repository at this point
Copy the full SHA 81c35d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cee3c22 - Browse repository at this point
Copy the full SHA cee3c22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283b140 - Browse repository at this point
Copy the full SHA 283b140View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06f3995 - Browse repository at this point
Copy the full SHA 06f3995View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a879f7 - Browse repository at this point
Copy the full SHA 0a879f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3699b9 - Browse repository at this point
Copy the full SHA c3699b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bffb888 - Browse repository at this point
Copy the full SHA bffb888View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1915d9a - Browse repository at this point
Copy the full SHA 1915d9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a897566 - Browse repository at this point
Copy the full SHA a897566View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88f088c - Browse repository at this point
Copy the full SHA 88f088cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71ea70e - Browse repository at this point
Copy the full SHA 71ea70eView commit details -
inline_call: remove macro self->this test
To be added back later once we have a fix. See rust-lang#16471 and rust-lang/rust-analyzer#16497 (comment).
Configuration menu - View commit details
-
Copy full SHA for 18be556 - Browse repository at this point
Copy the full SHA 18be556View commit details
Commits on Feb 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2ebf0c8 - Browse repository at this point
Copy the full SHA 2ebf0c8View commit details -
Auto merge of rust-lang#16521 - tetsuharuohzeki:experiment-enable-str…
…_to_string, r=lnicola internal: Enable str_to_string Clippy rule This fix [the FIXME comment](https://github.com/rust-lang/rust-analyzer/blob/bb0de88f24cc3a8de10837585fbb8172f6859752/Cargo.toml#L183-L184)
Configuration menu - View commit details
-
Copy full SHA for 7e92655 - Browse repository at this point
Copy the full SHA 7e92655View commit details -
Auto merge of rust-lang#16497 - evertedsphere:swann/fix-inline-for-ma…
…cro-generated-method, r=Veykril Fix incorrect inlining of functions that come from MBE macros Partial fix for rust-lang/rust-analyzer#16471. As a reminder, there are two issues there: 1. missing whitespace in parameter types (the first test) 2. the `self` parameter not being replaced by `this` in the function body (the second test) The first part is fixed in this PR. See [this comment](rust-lang/rust-analyzer#16497 (comment)) for the second.
Configuration menu - View commit details
-
Copy full SHA for aa97edb - Browse repository at this point
Copy the full SHA aa97edbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcdfc35 - Browse repository at this point
Copy the full SHA dcdfc35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00303c3 - Browse repository at this point
Copy the full SHA 00303c3View commit details -
Auto merge of rust-lang#16525 - Veykril:item-loc, r=Veykril
Abstract more over ItemTreeLoc-like structs Allows reducing some code duplication by using functions generic over said structs. The diff isn't negative due to me adding some additional impls for completeness.
Configuration menu - View commit details
-
Copy full SHA for 1ef7a23 - Browse repository at this point
Copy the full SHA 1ef7a23View commit details -
Auto merge of rust-lang#16524 - evertedsphere:swann/trait-bound-dyn, …
…r=Veykril minor: test that flip_trait_bound works with trait objects Closes rust-lang/rust-analyzer#16522.
Configuration menu - View commit details
-
Copy full SHA for 0878cde - Browse repository at this point
Copy the full SHA 0878cdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74eb3ec - Browse repository at this point
Copy the full SHA 74eb3ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc69255 - Browse repository at this point
Copy the full SHA dc69255View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36fb140 - Browse repository at this point
Copy the full SHA 36fb140View commit details -
Auto merge of rust-lang#16526 - Veykril:item-loc, r=Veykril
internal: Cleanup 🧹
Configuration menu - View commit details
-
Copy full SHA for 1c32387 - Browse repository at this point
Copy the full SHA 1c32387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5136705 - Browse repository at this point
Copy the full SHA 5136705View commit details -
Auto merge of rust-lang#16527 - Veykril:salsa-no-self-ref, r=Veykril
internal: Remove SELF_REF hack for self referential SyntaxContexts This should reduce the amount of SyntaxContexts we allocate
Configuration menu - View commit details
-
Copy full SHA for ddf105b - Browse repository at this point
Copy the full SHA ddf105bView commit details
Commits on Feb 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 022af82 - Browse repository at this point
Copy the full SHA 022af82View commit details