summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2024-11-26Auto merge of #133476 - SomeoneToIgnore:stable, r=BoxyUwU,davidbarsky 1.83.0bors-246/+77
[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`
2024-11-25Revert "Prepare for omittiong parts of completion data that need to be resolved"Kirill Bulatov-99/+16
This reverts commit 008d5130b7dce96693cd9c39cd5e71d9dc73bd5b.
2024-11-25Revert "Omit completion fields to be resolved later"Kirill Bulatov-99/+62
This reverts commit cc2686c1a9cf9a9e089f669d9d179812618008a7.
2024-11-25Revert "Resolve completion items"Kirill Bulatov-42/+11
This reverts commit ecae5a8b33abfa7b084aa0bd29d47f5b98ea2527.
2024-11-25Revert "Less clones"Kirill Bulatov-5/+5
This reverts commit b82c5ceba8cfb595f3556593fb3eb9cd03b1fb5c.
2024-11-25Revert "Fix the test"Kirill Bulatov-1/+1
This reverts commit b24723a5c74ab4881539bb97c7608c147f07c25e.
2024-11-25Revert "Small fixes"Kirill Bulatov-6/+6
This reverts commit 536ac471c47f06fd53daa651424ea5a78189491c.
2024-11-25Revert "Use completion item indices instead of property matching when ↵Kirill Bulatov-33/+15
searching for the completion item to resolve" This reverts commit fa46a9e2b605de60b11a29f5951e650c3c0f5089.
2024-11-25Revert "Update the file hash"Kirill Bulatov-1/+1
This reverts commit f0db79f31ada049bf490c8f27be7443f45460f09.
2024-11-25Auto merge of #133445 - BoxyUwU:stable, r=BoxyUwUbors-53/+411
[stable] Prepare Rust 1.83.0 r? `@ghost`
2024-11-25Revert "force "HEAD" for non-CI and `git_upstream_merge_base` for CI ↵Pietro Albini-13/+3
environment" This reverts commit 33ac202904e7820268b71b3280a7d2590378e3b9.
2024-11-25Revert "add new CI step: "setup upstream remote""Pietro Albini-39/+0
This reverts commit 4454fa998c9da1f1eee1602c8e8cd2732505c104.
2024-11-25bump channel to stableBoxy-1/+1
2024-11-25notes from masterBoxy-0/+407
2024-11-25Auto merge of #133299 - flip1995:clippy-beta-backport, r=Mark-Simulacrumbors-4/+18
[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`.
2024-11-22Auto merge of #133305 - cuviper:beta-next, r=cuviperbors-44/+127
[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
2024-11-21Mark `numeric-types.rs` as 64-bit only for nowJieyou Xu-2/+5
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)
2024-11-21Update cdb annotations for `unit-type.rs` with cdb `10.0.26100.2161`Jieyou Xu-4/+7
(cherry picked from commit e70df0909a9f35b4138ac78ffc16fe5a9fb05d00)
2024-11-21Update cdb annotations for `range-types.rs` with cdb `10.0.26100.2161`Jieyou Xu-7/+13
(cherry picked from commit 94f3dcf6016203dff3c4033f3024e8a69dc2d757)
2024-11-21Update cdb annotations for `numeric-types` with cdb `10.0.26100.2161`Jieyou Xu-29/+32
(cherry picked from commit 150327959386b1b71a59d57b29b4fda82f8eddbe)
2024-11-21Enforce that raw lifetime identifiers must be valid raw identifiersMichael Goulet-4/+72
(cherry picked from commit 9785c7cf94f5e30742f886764f2d25b6a4da66e8)
2024-11-21Auto merge of #13600 - samueltardieu:push-tzuvnutssmrs, r=xFrednetbors-2/+14
borrow_deref_ref: do not trigger on `&raw` references changelog: [`borrow_deref_ref`]: do not trigger on `&raw` references Fix #13584
2024-11-21Auto merge of #13553 - SpriteOvO:manual_is_power_of_two-change-category, ↵bors-2/+4
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`
2024-11-16Auto merge of #133077 - cuviper:beta-next, r=cuviperbors-50/+180
[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
2024-11-15Update debuginfo test for newer lldbEric Huss-3/+3
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)
2024-11-15(ci) Update macOS to Xcode 15Eric Huss-5/+5
(cherry picked from commit 94579ff9301fcee893cd0c4ad9284ab5ef51e6cd)
2024-11-15rustdoc-search: case-sensitive only when capitals are usedMichael Howell-4/+55
This is the "smartcase" behavior, described by vim and dtolnay. (cherry picked from commit 32500aa8e0f23029c0fa69235d19f770106c016f)
2024-11-14Only disable cache if predicate has opaques within itMichael Goulet-21/+45
(cherry picked from commit 49153739fd01d82ed999c763fd2771cb837d7dd2)
2024-11-14Reject raw lifetime followed by \' as wellMichael Goulet-1/+38
(cherry picked from commit 1990f1560801ca3f9e6a3286e58204aa329ee037)
2024-11-13Update the file hashKirill Bulatov-1/+1
2024-11-13Use completion item indices instead of property matching when searching for ↵Kirill Bulatov-15/+33
the completion item to resolve
2024-11-08Auto merge of #132733 - cuviper:beta-next, r=cuviperbors-45/+254
[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
2024-11-07Revert "Avoid nested replacement ranges" from #129346.Nicholas Nethercote-7/+21
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)
2024-11-07Also treat `impl` definition parent as transparent regarding modulesUrgau-2/+72
(cherry picked from commit 37db36594838d85f72e2282e73707071e80e31c0)
2024-11-07Avoid use imports in thread_local_inner! in statikJeong YunWon-5/+4
Fixes #131863 for wasm targets All other macros were done in #131866, but this sub module is missed. (cherry picked from commit 5368b120a1742893460c515bb198342d6f0a3800)
2024-11-05rustdoc: skip stability inheritance for some item kindsLukas Markeffsky-31/+157
(cherry picked from commit 728315df79d19562b7be11011b54d20406abd1f4)
2024-11-02Auto merge of #132468 - cuviper:beta-next, r=cuviperbors-69/+245
[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
2024-11-01Add a mir-opt GVN test for #128299许杰友 Jieyou Xu (Joe)-0/+104
Co-authored-by: DianQK <dianqk@dianqk.net> (cherry picked from commit cfb4c05d77df4a6bcc53924eddb3a35102b65da9)
2024-11-01Mark `simplify_aggregate_to_copy` mir-opt as unsound许杰友 Jieyou Xu (Joe)-43/+63
Co-authored-by: DianQK <dianqk@dianqk.net> (cherry picked from commit 10b8ba4ecb19ac2eb7be97a1a1eb1ffae9fec534)
2024-11-01Add a regression test for #132353许杰友 Jieyou Xu (Joe)-0/+25
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)
2024-11-01Avoid shadowing user provided types or type aliases in `thread_local!`许杰友 Jieyou Xu (Joe)-22/+49
By using qualified imports, i.e. `$crate::...::LocalKey`. (cherry picked from commit 7b2320c3df9e57e8920a8eeec94e907e3d3e6347)
2024-11-01Bump libc to 0.2.161Jan Sommer-4/+4
(cherry picked from commit a09c54d4d34627444d4d1416930c11ffeebd0d2e)
2024-10-31Auto merge of #132337 - weihanglo:update-beta-cargo, r=weihanglobors-0/+0
[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
2024-10-29Update cargoWeihang Lo-0/+0
2024-10-18Auto merge of #131846 - cuviper:beta-next, r=cuviperbors-456/+378
[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
2024-10-17Also use outermost const-anon for impl items in `non_local_defs` lintUrgau-3/+27
(cherry picked from commit b5e91a00c89a065f618693873ad7074a13ad6b90)
2024-10-17Move `too_long_first_doc_paragraph` to `nursery`Philipp Krones-1/+1
(cherry picked from commit a365aebdf03872722b8c78bdeb62c43851f0c72f)
2024-10-17bump stage0 to 1.82.0Josh Stone-452/+350
2024-10-14Auto merge of #131696 - cuviper:beta-1.83.0, r=cuviperbors-186/+182
[beta] Prepare Rust 1.83.0 r? ghost
2024-10-14check `stage0`, `channel` and `version` files for CI rustconur-ozkan-6/+11
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)