-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
#120198
Subtree update of rust-analyzer
#120198
Commits on Jan 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ceb2ea - Browse repository at this point
Copy the full SHA 1ceb2eaView commit details
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e6dd522 - Browse repository at this point
Copy the full SHA e6dd522View commit details -
Configuration menu - View commit details
-
Copy full SHA for afe05fe - Browse repository at this point
Copy the full SHA afe05feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45eea57 - Browse repository at this point
Copy the full SHA 45eea57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a6b16b - Browse repository at this point
Copy the full SHA 4a6b16bView commit details
Commits on Jan 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 22cda95 - Browse repository at this point
Copy the full SHA 22cda95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c3744e - Browse repository at this point
Copy the full SHA 7c3744eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b310f - Browse repository at this point
Copy the full SHA d0b310fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6033b66 - Browse repository at this point
Copy the full SHA 6033b66View commit details -
Configuration menu - View commit details
-
Copy full SHA for df53828 - Browse repository at this point
Copy the full SHA df53828View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22ae5f4 - Browse repository at this point
Copy the full SHA 22ae5f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for db3f0f1 - Browse repository at this point
Copy the full SHA db3f0f1View commit details
Commits on Jan 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d4b43d5 - Browse repository at this point
Copy the full SHA d4b43d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02d21f2 - Browse repository at this point
Copy the full SHA 02d21f2View commit details
Commits on Jan 15, 2024
-
Auto merge of rust-lang#16361 - dtolnay-contrib:visualstudio, r=Veykril
Add a stable #visual-studio anchor to the Manual Helpful for rust-lang/www.rust-lang.org#1915 so we have a persistent place to link as "Visual Studio" from the Rust website. Syntax reference: https://docs.asciidoctor.org/asciidoc/latest/sections/custom-ids/#assign-auxiliary-ids
Configuration menu - View commit details
-
Copy full SHA for 0b19e48 - Browse repository at this point
Copy the full SHA 0b19e48View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7eb52d - Browse repository at this point
Copy the full SHA c7eb52dView commit details -
Auto merge of rust-lang#16356 - Veykril:sysroot-metadata, r=Veykril
internal: Add unstable config for loading the sysroot sources via `cargo metadata` cc rust-lang/rust-analyzer#7637 This takes the approach of having `cargo metadata` generate a lock file that we then delete again, hence why this is behind a flag. If people need this for their workflow they can just enable it, if not, they are probably better off keeping it disabled. [example](https://dreampuf.github.io/GraphvizOnline/#digraph%20rust_analyzer_crate_graph%20%7B%0A%20%20%20%20_0%5Blabel%3D%22core%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_17%5Blabel%3D%22ra_playground%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_14%5Blabel%3D%22getopts%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_11%5Blabel%3D%22std_detect%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_8%5Blabel%3D%22unwind%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_5%5Blabel%3D%22hashbrown%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_2%5Blabel%3D%22alloc%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_16%5Blabel%3D%22test%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_13%5Blabel%3D%22unicode_width%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_10%5Blabel%3D%22rustc_demangle%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_7%5Blabel%3D%22panic_abort%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_4%5Blabel%3D%22cfg_if%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_1%5Blabel%3D%22compiler_builtins%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_18%5Blabel%3D%22build_script_build%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_15%5Blabel%3D%22proc_macro%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_12%5Blabel%3D%22std%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_9%5Blabel%3D%22panic_unwind%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_6%5Blabel%3D%22libc%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_3%5Blabel%3D%22allocator_api2%22%5D%5Bshape%3D%22box%22%5D%3B%0A%20%20%20%20_17%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_17%20-%3E%20_2%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_17%20-%3E%20_12%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_17%20-%3E%20_15%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_17%20-%3E%20_16%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_14%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_14%20-%3E%20_12%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_14%20-%3E%20_13%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_11%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_11%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_11%20-%3E%20_2%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_11%20-%3E%20_4%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_11%20-%3E%20_6%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_8%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_8%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_8%20-%3E%20_4%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_8%20-%3E%20_6%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_5%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_5%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_5%20-%3E%20_2%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_5%20-%3E%20_3%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_2%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_2%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_16%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_16%20-%3E%20_7%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_16%20-%3E%20_9%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_16%20-%3E%20_12%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_16%20-%3E%20_14%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_13%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_13%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_13%20-%3E%20_12%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_10%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_10%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_7%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_7%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_7%20-%3E%20_2%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_7%20-%3E%20_4%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_7%20-%3E%20_6%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_1%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_18%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_18%20-%3E%20_2%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_18%20-%3E%20_12%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_18%20-%3E%20_15%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_18%20-%3E%20_16%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_15%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_15%20-%3E%20_12%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_2%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_4%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_4%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_5%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_6%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_7%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_8%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_9%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_10%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_12%20-%3E%20_11%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_9%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_9%20-%3E%20_1%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_9%20-%3E%20_2%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_9%20-%3E%20_4%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_9%20-%3E%20_6%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_9%20-%3E%20_8%5Blabel%3D%22%22%5D%3B%0A%20%20%20%20_6%20-%3E%20_0%5Blabel%3D%22%22%5D%3B%0A%7D%0A) ![image](https://github.com/rust-lang/rust-analyzer/assets/3757771/7709bb38-d948-4106-82c2-9b76677620bd) hashbrown resolves as a dependency now
Configuration menu - View commit details
-
Copy full SHA for a616c4d - Browse repository at this point
Copy the full SHA a616c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d80d2fc - Browse repository at this point
Copy the full SHA d80d2fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bbd106 - Browse repository at this point
Copy the full SHA 6bbd106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d72ec7 - Browse repository at this point
Copy the full SHA 2d72ec7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1669344 - Browse repository at this point
Copy the full SHA 1669344View commit details -
Configuration menu - View commit details
-
Copy full SHA for 180e9b2 - Browse repository at this point
Copy the full SHA 180e9b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a356172 - Browse repository at this point
Copy the full SHA a356172View commit details -
fix: rename generator to coroutine
Follow the rename in nightly (see https://blog.rust-lang.org/inside-rust/2023/10/23/coroutines.html)
Configuration menu - View commit details
-
Copy full SHA for f937673 - Browse repository at this point
Copy the full SHA f937673View commit details -
fix: rename generator to coroutine also in dependencies
Follow the rename in nightly (see https://blog.rust-lang.org/inside-rust/2023/10/23/coroutines.html)
Configuration menu - View commit details
-
Copy full SHA for fe35447 - Browse repository at this point
Copy the full SHA fe35447View commit details
Commits on Jan 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ff71513 - Browse repository at this point
Copy the full SHA ff71513View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2aee95 - Browse repository at this point
Copy the full SHA a2aee95View commit details -
Auto merge of rust-lang#16364 - lnicola:sync-from-rust, r=lnicola
internal: sync from downstream
Configuration menu - View commit details
-
Copy full SHA for b9fd12b - Browse repository at this point
Copy the full SHA b9fd12bView commit details -
Auto merge of rust-lang#16196 - mohe2015:rename-generator-to-coroutin…
…e, r=Veykril Rename generator to coroutine Follow the rename in nightly (see https://blog.rust-lang.org/inside-rust/2023/10/23/coroutines.html) This makes it much easier to test code with the nightly compiler.
Configuration menu - View commit details
-
Copy full SHA for 4de8954 - Browse repository at this point
Copy the full SHA 4de8954View commit details -
Auto merge of rust-lang#16351 - Veykril:eager-enum-variant, r=Veykril
internal: Eagerly lower enum variants in CrateDefMap construction
Configuration menu - View commit details
-
Copy full SHA for 5df53c9 - Browse repository at this point
Copy the full SHA 5df53c9View commit details -
Auto merge of rust-lang#16350 - roife:neon-support-for-line-index, r=…
…Veykril internal: Speedup line index calculation via NEON for aarch64 This commit provides SIMD acceleration (via NEON) for `line-index` library on aarch64 architecture, which improves performance for Apple Silicon users (and potentially for future aarch64-based chips). The algorithm used here follows the same process as the original implementation using SSE2. Most of the vector instructions in SSE2 have corresponding parts in neon. The only issue is that there is no corresponding instruction for `_mm_movemask_epi8` in neon. To address this problem, I referred to the article at https://community.arm.com/arm-community-blogs/b/infrastructure-solutions-blog/posts/porting-x86-vector-bitmask-optimizations-to-arm-neon.
Configuration menu - View commit details
-
Copy full SHA for 18abb12 - Browse repository at this point
Copy the full SHA 18abb12View commit details -
Auto merge of rust-lang#15868 - wasd96040501:fix/symlink2, r=Veykril
fix: failed to infer OUT_DIR when workspace root contains symlink fix rust-lang#15867
Configuration menu - View commit details
-
Copy full SHA for 87e609a - Browse repository at this point
Copy the full SHA 87e609aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3981508 - Browse repository at this point
Copy the full SHA 3981508View commit details -
Auto merge of rust-lang#15636 - 9999years:show-which-roots-are-scanne…
…d, r=Veykril Show which roots are being scanned in progress messages This changes the `Roots Scanned` message to include the directory being scanned. Before: `Roots Scanned 206/210 (98%)` After: `Roots Scanned 206/210: .direnv (98%)` This makes it a lot easier to tell that `rust-analyzer` isn't crashed, it's just trying to scan a huge directory. See: rust-lang#12613
Configuration menu - View commit details
-
Copy full SHA for c9afd41 - Browse repository at this point
Copy the full SHA c9afd41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 659d4f9 - Browse repository at this point
Copy the full SHA 659d4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf905cf - Browse repository at this point
Copy the full SHA cf905cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a1b48 - Browse repository at this point
Copy the full SHA 90a1b48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54f2111 - Browse repository at this point
Copy the full SHA 54f2111View commit details -
Configuration menu - View commit details
-
Copy full SHA for f675b5e - Browse repository at this point
Copy the full SHA f675b5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e05e0 - Browse repository at this point
Copy the full SHA 35e05e0View commit details -
Auto merge of rust-lang#16366 - Veykril:transp-queries, r=Veykril
internal: Make data queries transparent over their diagnostics variant And a few other QoL things
Configuration menu - View commit details
-
Copy full SHA for 2d5ce88 - Browse repository at this point
Copy the full SHA 2d5ce88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b2a2bc - Browse repository at this point
Copy the full SHA 5b2a2bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f91c48 - Browse repository at this point
Copy the full SHA 1f91c48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f4f5a6 - Browse repository at this point
Copy the full SHA 8f4f5a6View commit details -
Auto merge of rust-lang#16367 - Veykril:value-ty, r=Veykril
fix: Make `value_ty` query fallible
Configuration menu - View commit details
-
Copy full SHA for 63c4e69 - Browse repository at this point
Copy the full SHA 63c4e69View commit details -
Auto merge of rust-lang#16352 - davidsemakula:rustfmt-import-sort-alg…
…o, r=Veykril internal: Follow rustfmt's algorithm for ordering imports when ordering and merging use trees Updates use tree ordering and merging utilities to follow rustfmt's algorithm for ordering imports. The [rustfmt implementation](https://github.com/rust-lang/rustfmt/blob/6356fca675bd756d71f5c123cd053d17b16c573e/src/imports.rs) was used as reference.
Configuration menu - View commit details
-
Copy full SHA for 0a8c784 - Browse repository at this point
Copy the full SHA 0a8c784View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6584e63 - Browse repository at this point
Copy the full SHA 6584e63View commit details -
Auto merge of rust-lang#16369 - Veykril:simplify, r=Veykril
minor: Simplify
Configuration menu - View commit details
-
Copy full SHA for e7a8d21 - Browse repository at this point
Copy the full SHA e7a8d21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 384488c - Browse repository at this point
Copy the full SHA 384488cView commit details -
Auto merge of rust-lang#16370 - Veykril:hover-lit, r=Veykril
feat: Hover for literals showing additional value information
Configuration menu - View commit details
-
Copy full SHA for e2df3f2 - Browse repository at this point
Copy the full SHA e2df3f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c94c29 - Browse repository at this point
Copy the full SHA 7c94c29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82e8355 - Browse repository at this point
Copy the full SHA 82e8355View commit details -
Auto merge of rust-lang#16374 - Veykril:hover-notable, r=Veykril
feat: Show notable trait impls on hover
Configuration menu - View commit details
-
Copy full SHA for 7777a81 - Browse repository at this point
Copy the full SHA 7777a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffeaee8 - Browse repository at this point
Copy the full SHA ffeaee8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a75a8c - Browse repository at this point
Copy the full SHA 0a75a8cView commit details -
Auto merge of rust-lang#16375 - Veykril:hover-notable, r=Veykril
feat: Goto type actions for notable trait hovers Follow up to rust-lang/rust-analyzer#16374
Configuration menu - View commit details
-
Copy full SHA for 0333646 - Browse repository at this point
Copy the full SHA 0333646View commit details
Commits on Jan 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d48498f - Browse repository at this point
Copy the full SHA d48498fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 920e99a - Browse repository at this point
Copy the full SHA 920e99aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21723cb - Browse repository at this point
Copy the full SHA 21723cbView commit details -
Auto merge of rust-lang#16378 - roife:fix/issue-15470, r=Veykril
fix: better handling of SelfParam in assist 'inline_call' fix rust-lang#15470. The current `inline_call` directly translates `&self` into `let ref this = ...;` and `&mut self` into `let ref mut this = ...;`. However, it does not handle some complex scenarios. This PR addresses the following transformations (assuming the receiving object is `obj`): - `self`: `let this = obj` - `mut self`: `let mut this = obj` - `&self`: `let this = &obj` - `&mut self` + If `obj` is `let mut obj = ...`, use a mutable reference: `let this = &mut obj` + If `obj` is `let obj = &mut ...;`, perform a reborrow: `let this = &mut *obj`
Configuration menu - View commit details
-
Copy full SHA for f4fec4f - Browse repository at this point
Copy the full SHA f4fec4fView commit details -
Auto merge of rust-lang#16380 - Veykril:sysroot-ci, r=Veykril
Run metadata on sysroot for CI metrics
Configuration menu - View commit details
-
Copy full SHA for 2b02df2 - Browse repository at this point
Copy the full SHA 2b02df2View commit details -
Handle
macro_rules!
as MACRO_CALLIt's a call of the third token is neither IDENT or TRY
Configuration menu - View commit details
-
Copy full SHA for 5916da2 - Browse repository at this point
Copy the full SHA 5916da2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76c67dd - Browse repository at this point
Copy the full SHA 76c67ddView commit details -
Auto merge of rust-lang#16314 - Urhengulas:macro_rule-as-macro-name, …
…r=Veykril `macro_rules` as macro name This PR makes RA parse `macro_rules! {}` (note the missing identifier) as a `MACRO_CALL` instead of `MACRO_RULES`. Fixes rust-lang#15969.
Configuration menu - View commit details
-
Copy full SHA for c820980 - Browse repository at this point
Copy the full SHA c820980View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bdbf49 - Browse repository at this point
Copy the full SHA 0bdbf49View commit details -
Auto merge of rust-lang#16383 - Veykril:progress, r=Veykril
fix: Fix progress reporting getting stuck Fixes rust-lang/rust-analyzer#16382
Configuration menu - View commit details
-
Copy full SHA for 5b62ebc - Browse repository at this point
Copy the full SHA 5b62ebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8359126 - Browse repository at this point
Copy the full SHA 8359126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27b0636 - Browse repository at this point
Copy the full SHA 27b0636View commit details -
Auto merge of rust-lang#16387 - lnicola:metrics-sysroot, r=Veykril
internal: Fix sysroot metadata in metrics CC rust-lang/rust-analyzer#16380 (comment)
Configuration menu - View commit details
-
Copy full SHA for a19372f - Browse repository at this point
Copy the full SHA a19372fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a3b52 - Browse repository at this point
Copy the full SHA 84a3b52View commit details -
Auto merge of rust-lang#16389 - davidsemakula:order-use-tree-raw-iden…
…t, r=lnicola internal: properly order raw idents when ordering use trees Follow up to rust-lang#16352 to properly order raw identifiers.
Configuration menu - View commit details
-
Copy full SHA for 9d9b343 - Browse repository at this point
Copy the full SHA 9d9b343View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57d4b5b - Browse repository at this point
Copy the full SHA 57d4b5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f176b3 - Browse repository at this point
Copy the full SHA 4f176b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7db4117 - Browse repository at this point
Copy the full SHA 7db4117View commit details -
Add a new config to allow renaming of non-local items
With rust-lang#15656 we started disallowing renaming of non-local items. Although this makes sense there are some false positives that impacted users' workflows. So this config aims to mitigate this by giving users the liberty to disable this feature.
Configuration menu - View commit details
-
Copy full SHA for 9bd9a17 - Browse repository at this point
Copy the full SHA 9bd9a17View commit details
Commits on Jan 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 04ce4ce - Browse repository at this point
Copy the full SHA 04ce4ceView commit details -
Auto merge of rust-lang#16395 - roife:internal/speed-up-LineEndings-w…
…ith-memchr, r=Veykril internal: speedup LineEndings calculation using 'memchr' See rust-lang/rust-analyzer#13538
Configuration menu - View commit details
-
Copy full SHA for 8bb500a - Browse repository at this point
Copy the full SHA 8bb500aView commit details -
Auto merge of rust-lang#16384 - Veykril:smolstr, r=Veykril
minor: Make use of some new `SmolStr` improvements
Configuration menu - View commit details
-
Copy full SHA for 2dfa9b8 - Browse repository at this point
Copy the full SHA 2dfa9b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c61326 - Browse repository at this point
Copy the full SHA 1c61326View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd26403 - Browse repository at this point
Copy the full SHA bd26403View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bf986d - Browse repository at this point
Copy the full SHA 0bf986dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5074486 - Browse repository at this point
Copy the full SHA 5074486View commit details -
Auto merge of rust-lang#16349 - Young-Flash:use_error_recovery, r=Vey…
…kril fix: add error recovery for use_tree_list parsing This PR adds error recovery for USE_TREE_LIST parsing, avoid the wrong USE_TREE_LIST making the rest parsing incorrectly. before ![before](https://github.com/rust-lang/rust-analyzer/assets/71162630/c6643690-f25c-4ad9-93d9-e661ba5b1dc3) after ![after](https://github.com/rust-lang/rust-analyzer/assets/71162630/30a58c40-2711-48d2-b2e5-fb208fc8636c) close rust-lang/rust-analyzer#16227
Configuration menu - View commit details
-
Copy full SHA for 1ab8c7f - Browse repository at this point
Copy the full SHA 1ab8c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2102091 - Browse repository at this point
Copy the full SHA 2102091View commit details -
Configuration menu - View commit details
-
Copy full SHA for b599de1 - Browse repository at this point
Copy the full SHA b599de1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f913d4f - Browse repository at this point
Copy the full SHA f913d4fView commit details -
The first one succeeds because the functionality is already implemented. The second one fails and represents the functionality to be implemented in this PR.
Configuration menu - View commit details
-
Copy full SHA for bfc2e56 - Browse repository at this point
Copy the full SHA bfc2e56View commit details -
Configuration menu - View commit details
-
Copy full SHA for c817286 - Browse repository at this point
Copy the full SHA c817286View commit details -
Configuration menu - View commit details
-
Copy full SHA for fad4fa1 - Browse repository at this point
Copy the full SHA fad4fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2185396 - Browse repository at this point
Copy the full SHA 2185396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28c7fa8 - Browse repository at this point
Copy the full SHA 28c7fa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 255cde7 - Browse repository at this point
Copy the full SHA 255cde7View commit details -
Auto merge of rust-lang#16391 - alibektas:15656/renaming_allowed_by_c…
…onfig, r=Veykril Add a new config to allow renaming of non-local defs With rust-lang#15656 we started disallowing renaming of non-local items. Although this makes sense there are some false positives that impacted users' workflows. So this config aims to mitigate this by giving users the liberty to disable this feature. The reason why this is a draft is that I saw one of the tests fail and I am not sure if the "got" result even syntactically makes sense Test case is : ```rust check( "Baz", r#" //- /lib.rs crate:lib new_source_root:library pub struct S; //- /main.rs crate:main deps:lib new_source_root:local use lib::S$0; "#, "use lib::Baz;" ); ``` ``` Left: use lib::Baz; Right: use lib::Baz;Baz Diff: use lib::Baz;Baz ```
Configuration menu - View commit details
-
Copy full SHA for a5b89ff - Browse repository at this point
Copy the full SHA a5b89ffView commit details -
Auto merge of rust-lang#16385 - Urhengulas:fix-tra-doc-links, r=Veykril
Fix intra doc links Fixes rust-lang#15848
Configuration menu - View commit details
-
Copy full SHA for 6d31416 - Browse repository at this point
Copy the full SHA 6d31416View commit details -
Auto merge of rust-lang#16397 - Urhengulas:refactor-parser, r=Veykril
Refactor `macro_call` to be consistent with other functions rust-lang/rust-analyzer#16314 (comment)
Configuration menu - View commit details
-
Copy full SHA for 48af3ef - Browse repository at this point
Copy the full SHA 48af3efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67c1c2b - Browse repository at this point
Copy the full SHA 67c1c2bView commit details -
Auto merge of rust-lang#16372 - davidsemakula:import-granularity-one,…
… r=Veykril feat: Add "One" import granularity Adds a new import granularity option "One" that merges all imports into a single use statement as long as they have the same visibility and attributes. This is similar to [rustfmt's `imports_granularity = "One"`](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=import#imports_granularity). Fixes: rust-lang#11361
Configuration menu - View commit details
-
Copy full SHA for 3f4c6da - Browse repository at this point
Copy the full SHA 3f4c6daView commit details -
Update bail message referencing config
Even though we changed the name of the config I forgot to update the warning message that referenced it.
Configuration menu - View commit details
-
Copy full SHA for 431040f - Browse repository at this point
Copy the full SHA 431040fView commit details
Commits on Jan 19, 2024
-
Auto merge of rust-lang#16398 - Urhengulas:satisfy-clippy, r=Veykril
`cargo clippy --fix` This PR is the result of running `cargo clippy --fix && cargo fmt` in the root of the repository. I did not manually review all the changes, but just skimmed through a few of them. The tests still pass, so it seems fine.
Configuration menu - View commit details
-
Copy full SHA for 85c9a83 - Browse repository at this point
Copy the full SHA 85c9a83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1889c6c - Browse repository at this point
Copy the full SHA 1889c6cView commit details -
Temporarily allow all lints which occur
They will be removed one by one
Configuration menu - View commit details
-
Copy full SHA for 3041164 - Browse repository at this point
Copy the full SHA 3041164View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fdf306 - Browse repository at this point
Copy the full SHA 1fdf306View commit details -
Update crates/ide-db/src/rename.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0becb6c - Browse repository at this point
Copy the full SHA 0becb6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0347f81 - Browse repository at this point
Copy the full SHA 0347f81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a722bd - Browse repository at this point
Copy the full SHA 3a722bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46e3831 - Browse repository at this point
Copy the full SHA 46e3831View commit details -
Auto merge of rust-lang#16400 - alibektas:15656/update_bail_message_r…
…ef_config, r=Veykril Update bail message referencing config Even though we changed the name of the config I forgot to update the warning message that referenced it.
Configuration menu - View commit details
-
Copy full SHA for 03d4a6d - Browse repository at this point
Copy the full SHA 03d4a6dView commit details -
Auto merge of rust-lang#16388 - Veykril:fn-abi, r=Veykril
internal: Record FnAbi This unfortunately breaks our lub coercions, so will need to look into fixing that first, though I am not sure what is going wrong where... Stubbed some stuff out for the time being.
Configuration menu - View commit details
-
Copy full SHA for 04edfa1 - Browse repository at this point
Copy the full SHA 04edfa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4087dcf - Browse repository at this point
Copy the full SHA 4087dcfView commit details -
Auto merge of rust-lang#16401 - Urhengulas:lint-table, r=Veykril
Expand lint tables && make clippy happy 🎉 This PR expands the lint tables on `./Cargo.toml` and thereby makes `cargo clippy` exit successfully! 🎉 Fixes rust-lang#15918 ## How? In the beginning there are some warnings for rustc. Next, and most importantly, there is the clippy lint table. There are a few sections in there. First there are the lint groups. Second there are all lints which are permanently allowed with the reasoning why they are allowed. Third there is a huge list of temporarily allowed lints. They should be removed in the mid-term, but incur a substantial amount of work, therefore they are allowed for now and can be worked on bit by bit. Fourth there are all lints which should warn. Additionally there are a few allow statements in the code for lints which should be permanently allowed in this specific place, but not in the whole code base. ## Follow up work - [ ] Run clippy in CI - [ ] Remove tidy test (at least `@Veykril` wrote this in rust-lang#15017) - [ ] Work on temporarily allowed lints
Configuration menu - View commit details
-
Copy full SHA for 2a239b9 - Browse repository at this point
Copy the full SHA 2a239b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3409645 - Browse repository at this point
Copy the full SHA 3409645View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5eca5f - Browse repository at this point
Copy the full SHA b5eca5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6573768 - Browse repository at this point
Copy the full SHA 6573768View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4184c6a - Browse repository at this point
Copy the full SHA 4184c6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 882289b - Browse repository at this point
Copy the full SHA 882289bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a500d5 - Browse repository at this point
Copy the full SHA 2a500d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60dda08 - Browse repository at this point
Copy the full SHA 60dda08View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8ad4af - Browse repository at this point
Copy the full SHA d8ad4afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a2a603 - Browse repository at this point
Copy the full SHA 6a2a603View commit details -
Configuration menu - View commit details
-
Copy full SHA for c629ec7 - Browse repository at this point
Copy the full SHA c629ec7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4f94c - Browse repository at this point
Copy the full SHA 9e4f94cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6709eab - Browse repository at this point
Copy the full SHA 6709eabView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb7aec5 - Browse repository at this point
Copy the full SHA eb7aec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8982ff3 - Browse repository at this point
Copy the full SHA 8982ff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84494d1 - Browse repository at this point
Copy the full SHA 84494d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5753981 - Browse repository at this point
Copy the full SHA 5753981View commit details -
Configuration menu - View commit details
-
Copy full SHA for c27b6b5 - Browse repository at this point
Copy the full SHA c27b6b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ae2512 - Browse repository at this point
Copy the full SHA 2ae2512View commit details -
Configuration menu - View commit details
-
Copy full SHA for add40c8 - Browse repository at this point
Copy the full SHA add40c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d351cb8 - Browse repository at this point
Copy the full SHA d351cb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3839f9a - Browse repository at this point
Copy the full SHA 3839f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a342e93 - Browse repository at this point
Copy the full SHA a342e93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6699c90 - Browse repository at this point
Copy the full SHA 6699c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for e58b683 - Browse repository at this point
Copy the full SHA e58b683View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f9f4c - Browse repository at this point
Copy the full SHA e6f9f4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bef3551 - Browse repository at this point
Copy the full SHA bef3551View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df3049 - Browse repository at this point
Copy the full SHA 0df3049View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4858a37 - Browse repository at this point
Copy the full SHA 4858a37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e8568b - Browse repository at this point
Copy the full SHA 7e8568bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 692212b - Browse repository at this point
Copy the full SHA 692212bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9527e24 - Browse repository at this point
Copy the full SHA 9527e24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6738edc - Browse repository at this point
Copy the full SHA 6738edcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cf1358 - Browse repository at this point
Copy the full SHA 3cf1358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a62a0d - Browse repository at this point
Copy the full SHA 5a62a0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d4dba - Browse repository at this point
Copy the full SHA 71d4dbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 159b4c9 - Browse repository at this point
Copy the full SHA 159b4c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd07f0 - Browse repository at this point
Copy the full SHA 9dd07f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a0c9a - Browse repository at this point
Copy the full SHA b1a0c9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e83779 - Browse repository at this point
Copy the full SHA 9e83779View commit details -
Auto merge of rust-lang#16404 - Urhengulas:satisfy-clippy, r=Veykril
Work through temporarily allowed clippy lints, part 1 This is the first batch of not allowing but actually fixing the clippy lints. Each commit removes one lint from the lint table and then fixes the resulting warnings. Follow-up to rust-lang#16401
Configuration menu - View commit details
-
Copy full SHA for 67cfbf2 - Browse repository at this point
Copy the full SHA 67cfbf2View commit details
Commits on Jan 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f9b5e0d - Browse repository at this point
Copy the full SHA f9b5e0dView commit details -
Auto merge of rust-lang#16396 - Young-Flash:fix_marco, r=Veykril
fix panic with reference in macro it panic at `builder.make_mut(segment)`, where segment is from macro expand. And the usage reference in orginal macro call isn't a `PathSegment` so we can't update it in `apply_references`, I can't find a way to deal with it properly so here just filter out the reference in macro. LMK if there are better way to fix this try to close rust-lang/rust-analyzer#16328
Configuration menu - View commit details
-
Copy full SHA for 0c76421 - Browse repository at this point
Copy the full SHA 0c76421View commit details -
Configuration menu - View commit details
-
Copy full SHA for 721e790 - Browse repository at this point
Copy the full SHA 721e790View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa7583 - Browse repository at this point
Copy the full SHA 5aa7583View commit details -
Auto merge of rust-lang#16405 - dfireBird:guarded-return-for-loop, r=…
…lnicola fix: Include `for` construct in convert to guarded return conditions
Configuration menu - View commit details
-
Copy full SHA for d4926c1 - Browse repository at this point
Copy the full SHA d4926c1View commit details -
Auto merge of rust-lang#16406 - davidsemakula:editorconfig, r=lnicola
internal: add `max_line_length` to `.editorconfig` This helps with setting proper visual guides/rulers for the right margin in some editors/IDEs (e.g. CLion)
Configuration menu - View commit details
-
Copy full SHA for a911652 - Browse repository at this point
Copy the full SHA a911652View commit details
Commits on Jan 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 595b4c3 - Browse repository at this point
Copy the full SHA 595b4c3View commit details