36471393dc
Further improve OS support
2024-12-24 22:08:05 +01:00
606b8f634b
More changes to support my OS
2024-12-24 19:15:42 +01:00
ce66368009
Start adding support for my OS
2024-12-24 18:25:16 +01:00
bors
90b35a6239
Auto merge of #133476 - SomeoneToIgnore:stable, r=BoxyUwU,davidbarsky
...
[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-26 10:12:09 +00:00
Kirill Bulatov
f7c53a2df0
Revert "Prepare for omittiong parts of completion data that need to be resolved"
...
This reverts commit 008d5130b7
.
2024-11-25 23:33:29 +02:00
Kirill Bulatov
4cda576eeb
Revert "Omit completion fields to be resolved later"
...
This reverts commit cc2686c1a9
.
2024-11-25 23:33:22 +02:00
Kirill Bulatov
23abd97cf0
Revert "Resolve completion items"
...
This reverts commit ecae5a8b33
.
2024-11-25 23:33:11 +02:00
Kirill Bulatov
9ec2404cf8
Revert "Less clones"
...
This reverts commit b82c5ceba8
.
2024-11-25 23:33:04 +02:00
Kirill Bulatov
fac56d731a
Revert "Fix the test"
...
This reverts commit b24723a5c7
.
2024-11-25 23:32:54 +02:00
Kirill Bulatov
174c655c52
Revert "Small fixes"
...
This reverts commit 536ac471c4
.
2024-11-25 23:32:48 +02:00
Kirill Bulatov
669bb6cfda
Revert "Use completion item indices instead of property matching when searching for the completion item to resolve"
...
This reverts commit fa46a9e2b6
.
2024-11-25 23:30:08 +02:00
Kirill Bulatov
60c4250430
Revert "Update the file hash"
...
This reverts commit f0db79f31a
.
2024-11-25 23:29:55 +02:00
bors
8bfa98634a
Auto merge of #133445 - BoxyUwU:stable, r=BoxyUwU
...
[stable] Prepare Rust 1.83.0
r? `@ghost`
2024-11-25 14:31:59 +00:00
Pietro Albini
6090960b9d
Revert "force "HEAD" for non-CI and git_upstream_merge_base
for CI environment"
...
This reverts commit 33ac202904
.
2024-11-25 14:15:30 +01:00
Pietro Albini
cefed0b13d
Revert "add new CI step: "setup upstream remote""
...
This reverts commit 4454fa998c
.
2024-11-25 14:15:21 +01:00
Boxy
c3eb2f2e75
bump channel to stable
2024-11-25 11:30:34 +00:00
Boxy
3ccf055dcc
notes from master
2024-11-25 11:30:19 +00:00
bors
f9c269546c
Auto merge of #133299 - flip1995:clippy-beta-backport, r=Mark-Simulacrum
...
[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-25 02:02:17 +00:00
bors
b35ad722a4
Auto merge of #133305 - cuviper:beta-next, r=cuviper
...
[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-22 00:24:25 +00:00
Jieyou Xu
8435c75fa5
Mark numeric-types.rs
as 64-bit only for now
...
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 dccb6c0f27
)
2024-11-21 09:26:47 -08:00
Jieyou Xu
088f06a383
Update cdb annotations for unit-type.rs
with cdb 10.0.26100.2161
...
(cherry picked from commit e70df0909a
)
2024-11-21 09:26:47 -08:00
Jieyou Xu
a3021df498
Update cdb annotations for range-types.rs
with cdb 10.0.26100.2161
...
(cherry picked from commit 94f3dcf601
)
2024-11-21 09:26:47 -08:00
Jieyou Xu
aa203c9fa0
Update cdb annotations for numeric-types
with cdb 10.0.26100.2161
...
(cherry picked from commit 1503279593
)
2024-11-21 09:26:47 -08:00
Michael Goulet
3c7babbb12
Enforce that raw lifetime identifiers must be valid raw identifiers
...
(cherry picked from commit 9785c7cf94
)
2024-11-21 09:26:42 -08:00
bors
5f4dd1deeb
Auto merge of #13600 - samueltardieu:push-tzuvnutssmrs, r=xFrednet
...
borrow_deref_ref: do not trigger on `&raw` references
changelog: [`borrow_deref_ref`]: do not trigger on `&raw` references
Fix #13584
2024-11-21 16:33:02 +01:00
bors
7b688e21d6
Auto merge of #13553 - SpriteOvO:manual_is_power_of_two-change-category, 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-21 16:30:08 +01:00
bors
4ff8ff0ecd
Auto merge of #133077 - cuviper:beta-next, r=cuviper
...
[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-16 02:17:19 +00:00
Eric Huss
48c21ba818
Update debuginfo test for newer lldb
...
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 16b91e887a
)
2024-11-15 15:05:53 -08:00
Eric Huss
7757d32571
(ci) Update macOS to Xcode 15
...
(cherry picked from commit 94579ff930
)
2024-11-15 15:05:52 -08:00
Michael Howell
71ed455958
rustdoc-search: case-sensitive only when capitals are used
...
This is the "smartcase" behavior, described by vim and dtolnay.
(cherry picked from commit 32500aa8e0
)
2024-11-15 09:56:23 -08:00
Michael Goulet
80f109a80a
Only disable cache if predicate has opaques within it
...
(cherry picked from commit 49153739fd
)
2024-11-14 16:17:05 -08:00
Michael Goulet
5f7387c37e
Reject raw lifetime followed by \' as well
...
(cherry picked from commit 1990f15608
)
2024-11-14 16:17:05 -08:00
Kirill Bulatov
f0db79f31a
Update the file hash
2024-11-13 09:19:26 +02:00
Kirill Bulatov
fa46a9e2b6
Use completion item indices instead of property matching when searching for the completion item to resolve
2024-11-13 09:19:14 +02:00
bors
eb6e3fa1a2
Auto merge of #132733 - cuviper:beta-next, r=cuviper
...
[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-08 13:35:26 +00:00
Nicholas Nethercote
25ab47d5e6
Revert "Avoid nested replacement ranges" from #129346 .
...
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 981dc02eaf
)
2024-11-07 08:31:01 -08:00
Urgau
c77b19bf30
Also treat impl
definition parent as transparent regarding modules
...
(cherry picked from commit 37db365948
)
2024-11-07 08:30:54 -08:00
Jeong YunWon
a160d9e36a
Avoid use imports in thread_local_inner! in statik
...
Fixes #131863 for wasm targets
All other macros were done in #131866 , but this sub module is missed.
(cherry picked from commit 5368b120a1
)
2024-11-07 08:30:33 -08:00
Lukas Markeffsky
12ed4c6655
rustdoc: skip stability inheritance for some item kinds
...
(cherry picked from commit 728315df79
)
2024-11-05 14:04:25 -08:00
bors
67512dee7a
Auto merge of #132468 - cuviper:beta-next, r=cuviper
...
[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-02 11:14:59 +00:00
许杰友 Jieyou Xu (Joe)
0f95b22c12
Add a mir-opt GVN test for #128299
...
Co-authored-by: DianQK <dianqk@dianqk.net>
(cherry picked from commit cfb4c05d77
)
2024-11-01 11:15:24 -07:00
许杰友 Jieyou Xu (Joe)
b5bc13a367
Mark simplify_aggregate_to_copy
mir-opt as unsound
...
Co-authored-by: DianQK <dianqk@dianqk.net>
(cherry picked from commit 10b8ba4ecb
)
2024-11-01 11:15:23 -07:00
许杰友 Jieyou Xu (Joe)
90a1f5f789
Add a regression test for #132353
...
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 4d8bda335e
)
2024-11-01 11:15:23 -07:00
许杰友 Jieyou Xu (Joe)
1766bc36f5
Avoid shadowing user provided types or type aliases in thread_local!
...
By using qualified imports, i.e. `$crate::...::LocalKey`.
(cherry picked from commit 7b2320c3df
)
2024-11-01 11:14:59 -07:00
Jan Sommer
e0816c87aa
Bump libc to 0.2.161
...
(cherry picked from commit a09c54d4d3
)
2024-11-01 11:14:47 -07:00
bors
f41c7ed988
Auto merge of #132337 - weihanglo:update-beta-cargo, r=weihanglo
...
[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-31 18:13:21 +00:00
Weihang Lo
3674580186
Update cargo
2024-10-29 18:29:46 -04:00
bors
88c1c3c110
Auto merge of #131846 - cuviper:beta-next, r=cuviper
...
[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-18 01:13:29 +00:00
Urgau
d04ae764cc
Also use outermost const-anon for impl items in non_local_defs
lint
...
(cherry picked from commit b5e91a00c8
)
2024-10-17 10:30:16 -07:00
Philipp Krones
601863bf30
Move too_long_first_doc_paragraph
to nursery
...
(cherry picked from commit a365aebdf03872722b8c78bdeb62c43851f0c72f)
2024-10-17 10:29:40 -07:00