Commit Graph

285822 Commits

Author SHA1 Message Date
Oli Scherer
396baa750e Make allocator shim creation mostly use safe code 2025-02-24 15:11:29 +00:00
Oli Scherer
840e31b29f Generalize BaseTypeCodegenMethods 2025-02-24 15:11:29 +00:00
Oli Scherer
75356b7437 Generalize BackendTypes over GenericCx 2025-02-24 15:11:29 +00:00
Oli Scherer
bfd88cead0 Avoid some duplication between SimpleCx and CodegenCx 2025-02-24 15:11:29 +00:00
наб
74ec86248a libstd: rustdoc: correct note on fds 0/1/2 pre-main
Closes: #137490
2025-02-24 16:08:14 +01:00
Oli Scherer
d4379d2afd Remove an unnecessary lifetime 2025-02-24 15:05:56 +00:00
Oli Scherer
a54bfcf52b Use safe FFI for various functions in codegen_llvm 2025-02-24 15:05:56 +00:00
bjorn3
ae5f2c2d5c Fix rustc test suite 2025-02-24 14:53:41 +00:00
Vadim Petrochenkov
db6da1268e tests: Add regression test for derive token invalidation (#81099) 2025-02-24 17:49:20 +03:00
onur-ozkan
9ad6011494 use stage 2 on cargo and clippy tests when possible
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-24 14:41:50 +00:00
David Wood
d6bb98e757 span: add a "future" edition
It's hard to implement edition migrations without having a perma-unstable
"future" edition to target.
2025-02-24 14:35:30 +00:00
Alex Macleod
efcf1f5730 Split needless_lifetime '_ suggestions into elidable_lifetime_names 2025-02-24 14:23:33 +00:00
bjorn3
fb85ef70fc Rustup to rustc 1.87.0-nightly (f8a913b13 2025-02-23) 2025-02-24 14:21:50 +00:00
Vadim Petrochenkov
9c65672397 std: Fix another new symlink test on Windows 2025-02-24 17:12:37 +03:00
bjorn3
c9e68eb0e1 Sync from rust f8a913b138 2025-02-24 14:03:45 +00:00
Lukas Wirth
a9dbd4988b Merge pull request #19171 from ShoyuVanilla/migrate-de-morgan-assist
internal: Migrate `apply_demorgan` to `SyntaxEditor`
2025-02-24 13:57:56 +00:00
Lukas Wirth
32e404937f Merge pull request #18987 from ChayimFriedman2/drop-glue
feat: Calculate drop glue and show it on hover
2025-02-24 13:52:17 +00:00
bors
617aad8c2e Auto merge of #137523 - lnicola:sync-from-ra, r=lnicola
Subtree update of `rust-analyzer`

r? `@ghost`
2025-02-24 13:45:40 +00:00
Shoyu Vanilla
1c2225be63 Add take() method to SyntaxEditor 2025-02-24 22:42:57 +09:00
Shoyu Vanilla
756f2131e0 Migrate apply_demorgan to SyntaxEditor 2025-02-24 22:41:53 +09:00
Shoyu Vanilla
67a99a36a6 Migrate some leftovers in add_missing_match_arms 2025-02-24 22:41:52 +09:00
Jana Dönszelmann
4daa35ce33 lower attr spans and inline some functions to hopefully mitigate perf regressions 2025-02-24 14:37:58 +01:00
Jana Dönszelmann
17bda0c0fe simplify must-use lint slightly 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
2f0652745d add test to verify that #132391 can be closed 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
443b0f5ccf Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
d8ea2a230f change smir attributes getters to only support tool attributes 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
95b52d51ea pretty print hir attributes 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
309b46ad68 Fix test output expectations 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
80314b1de9 simplify must-use lint slightly 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
f321f107e3 Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
Jana Dönszelmann
7e0f5b5016 Introduce new-style attribute parsers for several attributes
note: compiler compiles but librustdoc and clippy don't
2025-02-24 14:31:17 +01:00
Guillaume Gomez
592028a2fc Add rustdoc-gui regression test for #137082 2025-02-24 14:27:33 +01:00
Jana Dönszelmann
dbd3b7928e Introduce new parsing infrastructure and types for parsed attributes
fixup docs in parser
2025-02-24 14:26:06 +01:00
Jana Dönszelmann
115b3b03b0 Change span field accesses to method calls 2025-02-24 14:22:31 +01:00
Ralf Jung
913612c59e Merge pull request #4193 from bjorn3/arm64_vpmaxq_u8
Implement vpmaxq_u8 on aarch64
2025-02-24 13:18:37 +00:00
Lukas Wirth
18c6f22dc5 Merge pull request #19219 from Veykril/push-rvosplwpwqqt
Vendor `always-assert` into `stdx`
2025-02-24 13:15:39 +00:00
Ralf Jung
a3dd764307 Merge pull request #4205 from RalfJung/host-target
make sure we install the toolchain for the intended host target
2025-02-24 13:14:04 +00:00
Lukas Wirth
6e2abbfcc3 Merge pull request #19211 from Timmmm/user/timh/import_private
Include private items in completions for local crates
2025-02-24 13:13:31 +00:00
Lukas Wirth
49116c6fdc Merge pull request #19197 from andylokandy/insta
feat: update insta inline snapshot when clicking 'Update Test' runnable
2025-02-24 13:11:45 +00:00
Lukas Wirth
a4bd32cf91 Merge pull request #19218 from Veykril/push-vqsronpuvrnx
Disable incremental on release builds
2025-02-24 13:08:20 +00:00
Lukas Wirth
d761f9b682 Vendor always-assert 2025-02-24 14:00:34 +01:00
Lukas Wirth
7bba76eccc Disable incremental on release builds 2025-02-24 13:52:46 +01:00
Ralf Jung
4303a14bdd slightly extend comment 2025-02-24 13:50:42 +01:00
Ralf Jung
b4bb011cbc add missing float non-determinism tests and skip some on i686-pc-windows-msvc that are internally implemented via f64 2025-02-24 13:44:32 +01:00
Laurențiu Nicola
af83f2fd37 Merge pull request #19217 from lnicola/event-name
Fix `event_name` check is workflows
2025-02-24 12:41:58 +00:00
Laurențiu Nicola
dac3460429 Merge pull request #19216 from lnicola/ubuntu-22.04
internal: Downgrade to ubuntu-22.04 for aarch64 and arm builds
2025-02-24 12:27:45 +00:00
Ralf Jung
61a25fd270 make sure we install the toolchain for the intended host target 2025-02-24 13:27:18 +01:00
Laurențiu Nicola
5397431162 Fix event_name check in workflows 2025-02-24 14:27:11 +02:00
Ralf Jung
561dce772f sanity-check for HOST_TARGET 2025-02-24 13:22:13 +01:00
Laurențiu Nicola
e2a773123f Downgrade to ubuntu-22.04 for aarch64-unknown-linux-gnu and arm-unknown-linux-gnueabihf builds 2025-02-24 14:11:12 +02:00