| Age | Commit message (Collapse) | Author | Lines |
|
[stable(not yet) backport] Revert r-a completions breakage
This PR revers recent completion-related changes in r-a, which caused nvim and helix to malfunction.
Changes reverted:
1. https://github.com/rust-lang/rust-analyzer/pull/18167
2. https://github.com/rust-lang/rust-analyzer/pull/18247
3. https://github.com/rust-lang/rust-analyzer/pull/18503
See https://github.com/rust-lang/rust-analyzer/pull/18503#issuecomment-2498920382 for more context
cc `@BoxyUwU`
|
|
This reverts commit 008d5130b7dce96693cd9c39cd5e71d9dc73bd5b.
|
|
This reverts commit cc2686c1a9cf9a9e089f669d9d179812618008a7.
|
|
This reverts commit ecae5a8b33abfa7b084aa0bd29d47f5b98ea2527.
|
|
This reverts commit b82c5ceba8cfb595f3556593fb3eb9cd03b1fb5c.
|
|
This reverts commit b24723a5c74ab4881539bb97c7608c147f07c25e.
|
|
This reverts commit 536ac471c47f06fd53daa651424ea5a78189491c.
|
|
searching for the completion item to resolve"
This reverts commit fa46a9e2b605de60b11a29f5951e650c3c0f5089.
|
|
This reverts commit f0db79f31ada049bf490c8f27be7443f45460f09.
|
|
[stable] Prepare Rust 1.83.0
r? `@ghost`
|
|
environment"
This reverts commit 33ac202904e7820268b71b3280a7d2590378e3b9.
|
|
This reverts commit 4454fa998c9da1f1eee1602c8e8cd2732505c104.
|
|
|
|
|
|
[beta] Clippy backports
r? `@Mark-Simulacrum`
Backports:
- https://github.com/rust-lang/rust-clippy/pull/13553
- https://github.com/rust-lang/rust-clippy/pull/13600
The first is just a regrouping to a allow-by-default group, as we figured that the lint would be too noisy as a warn-by-default lint. That lint was added last release cycle, so we want to do the re-grouping before it hits stable.
The second is a bug fix for `&raw` references that are already stable in `1.82`, but we don't want to wait another release cycle for the fix to land on stable.
Both commits are already synced to the current `master branch`.
|
|
[beta] backports
- Enforce that raw lifetimes must be valid raw identifiers #132363
- Update cdb annotations for some debuginfo tests with cdb `10.0.26100.2161` #133115
r? cuviper
|
|
This is to unblock the tree, a proper fix will need to be investigated.
I think the debuginfo test suite supports revisions, however debugger
directives do not respect such revisions, which is problematic.
It's that 32-bit and 64-bit msvc of course have different integer widths
for `isize` and `usize`, meaning their underlying integer is different
and thus printed differently.
(cherry picked from commit dccb6c0f279ebec551382bdb36db97622fca324b)
|
|
(cherry picked from commit e70df0909a9f35b4138ac78ffc16fe5a9fb05d00)
|
|
(cherry picked from commit 94f3dcf6016203dff3c4033f3024e8a69dc2d757)
|
|
(cherry picked from commit 150327959386b1b71a59d57b29b4fda82f8eddbe)
|
|
(cherry picked from commit 9785c7cf94f5e30742f886764f2d25b6a4da66e8)
|
|
borrow_deref_ref: do not trigger on `&raw` references
changelog: [`borrow_deref_ref`]: do not trigger on `&raw` references
Fix #13584
|
|
r=llogiq
Change the category of `manual_is_power_of_two` to `pedantic`
Fixes #13547.
The value being checked might be a bit flag, suggesting `is_power_of_two` for it would make the code unreadable.
changelog: [`manual_is_power_of_two`]: Change the category to `pedantic`
|
|
[beta] backports
- Use completion item indices instead of property matching #132987, rust-lang/rust-analyzer#18503
- Reject raw lifetime followed by `'`, like regular lifetimes do #132341
- Only disable cache if predicate has opaques within it #132625
- rustdoc-search: case-sensitive only when capitals are used #133043
- (ci) Update macOS Xcode to 15 #131570
r? cuviper
|
|
For reasons I don't understand, lldb in Xcode 15 no longer prints objects as:
(long) $0 = 19
instead, it is printing them as:
(long) 19
(cherry picked from commit 16b91e887afcdbfe0db2232639f0c9d33b7e2246)
|
|
(cherry picked from commit 94579ff9301fcee893cd0c4ad9284ab5ef51e6cd)
|
|
This is the "smartcase" behavior, described by vim and dtolnay.
(cherry picked from commit 32500aa8e0f23029c0fa69235d19f770106c016f)
|
|
(cherry picked from commit 49153739fd01d82ed999c763fd2771cb837d7dd2)
|
|
(cherry picked from commit 1990f1560801ca3f9e6a3286e58204aa329ee037)
|
|
|
|
the completion item to resolve
|
|
[beta] backports
- rustdoc: skip stability inheritance for some item kinds #132481
- Avoid use imports in thread_local_inner! in static #132101
- Also treat `impl` definition parent as transparent regarding modules #132453
- Revert "Avoid nested replacement ranges" from #129346. #132587
r? cuviper
|
|
It caused a test regression in the `cfg_eval.rs` crate. (The bugfix
in #129346 was in a different commit; this commit was just a code
simplification.)
(cherry picked from commit 981dc02eaf876a25b95581411e841ba664dc9e97)
|
|
(cherry picked from commit 37db36594838d85f72e2282e73707071e80e31c0)
|
|
Fixes #131863 for wasm targets
All other macros were done in #131866, but this sub module is missed.
(cherry picked from commit 5368b120a1742893460c515bb198342d6f0a3800)
|
|
(cherry picked from commit 728315df79d19562b7be11011b54d20406abd1f4)
|
|
[beta] backports
- Bump libc to 0.2.161 #131823
- Avoid use imports in `thread_local_inner!` #131866
- Mark `simplify_aggregate_to_copy` mir-opt as unsound #132356
r? cuviper
|
|
Co-authored-by: DianQK <dianqk@dianqk.net>
(cherry picked from commit cfb4c05d77df4a6bcc53924eddb3a35102b65da9)
|
|
Co-authored-by: DianQK <dianqk@dianqk.net>
(cherry picked from commit 10b8ba4ecb19ac2eb7be97a1a1eb1ffae9fec534)
|
|
To catch at least one pattern that was miscompiled. The test is a
minimization of the MCVE reported in
<https://github.com/rust-lang/rust/issues/132353>.
(cherry picked from commit 4d8bda335e23b7ff10ff0c645c825a90fc2646bb)
|
|
By using qualified imports, i.e. `$crate::...::LocalKey`.
(cherry picked from commit 7b2320c3df9e57e8920a8eeec94e907e3d3e6347)
|
|
(cherry picked from commit a09c54d4d34627444d4d1416930c11ffeebd0d2e)
|
|
[beta-1.83] Update Cargo
1 commits in 15fbd2f607d4defc87053b8b76bf5038f2483cf4..5ffbef3211a8c378857905775a15c5b32a174d3b
2024-10-08 21:08:11 +0000 to 2024-10-29 17:19:42 +0000
- [beta-1.83] fix(publish): Downgrade version-exists error to warning on dry-run (rust-lang/cargo#14744)
r? weihanglo
|
|
|
|
[beta] stage0 bump and backports
- Bump stage0 to 1.82.0
- Clippy: Move `too_long_first_doc_paragraph` to `nursery` #131742
- Also use outermost const-anon for impl items in `non_local_defs` lint #131660
r? ghost
|
|
(cherry picked from commit b5e91a00c89a065f618693873ad7074a13ad6b90)
|
|
(cherry picked from commit a365aebdf03872722b8c78bdeb62c43851f0c72f)
|
|
|
|
[beta] Prepare Rust 1.83.0
r? ghost
|
|
These files have important role for compiler builds, so include them
in the "if-unchanged" rustc logic.
Signed-off-by: onur-ozkan <work@onurozkan.dev>
(cherry picked from commit 6e6cbdd2df0ae5a025c458d95a4c84df1b6af092)
|