Commit graph

299799 commits

Author SHA1 Message Date
Kivooeo
1549585f26 moved tests 2025-07-01 19:28:14 +05:00
Jonathan Brouwer
d22ce4c5eb
Fix duplicate help on export_name and others
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-01 16:10:07 +02:00
Jonathan Brouwer
0b67d14b31
Fix #[rustc_macro_transparency] giving two errors
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-01 16:10:07 +02:00
Jonathan Brouwer
149bdde97e
Fix #[must_use = 1] not giving an error
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-01 16:10:05 +02:00
Jonathan Brouwer
86b54d5729
Fix double error for export_name
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-01 16:10:02 +02:00
Jonathan Brouwer
0fcf295b64
New test for malformed attributes
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-01 16:10:02 +02:00
Folkert de Vries
8fdf0ef0ae
loop match: handle opaque patterns
fixes issue 143203
2025-07-01 15:53:52 +02:00
Folkert de Vries
aa7cc5d2f4
loop match: run exhaustiveness check 2025-07-01 15:53:50 +02:00
Laurențiu Nicola
47687a4a64
Merge pull request #20136 from Hmikihiro/migrate-toggle_macro_delimiter
Migrate `toggle_macro_delimiter` Assist to use `SyntaxEditor`
2025-07-01 13:53:02 +00:00
Guillaume Gomez
7c3bddaa74 Update rustdoc GUI tests 2025-07-01 15:49:45 +02:00
Guillaume Gomez
8e329b210d Improve CSS for source code block line numbers 2025-07-01 15:49:45 +02:00
Hayashi Mikihiro
aed886c6f8 Migrate toggle_macro_delimiter assist to SyntaxEditor
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-01 22:40:31 +09:00
Kivooeo
986f1c9b69 moved tests 2025-07-01 18:21:05 +05:00
MarcoIeni
f5f2011bbe
document optional jobs 2025-07-01 15:08:26 +02:00
Ralf Jung
0ca067190b
Merge pull request #4411 from LorrensP-2158466/remove-leaky-syncobj
Remove leaky synchronisation objects.
2025-07-01 12:46:31 +00:00
Guillaume Gomez
022c91465a Remove ItemKind::descr method 2025-07-01 14:36:28 +02:00
LorrensP-2158466
4606afb125 Remove leaky synchronisation objects. 2025-07-01 14:21:13 +02:00
xizheyin
e7c3703c53
Suggest use another lifetime specifier instead of underscore lifetime
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-07-01 19:58:27 +08:00
bors
076a0a26fd Auto merge of #143013 - bjorn3:split_exported_symbols, r=oli-obk
Split exported_symbols for generic and non-generic symbols

This reduces metadata decoder overhead during the monomorphization collector.
2025-07-01 11:53:02 +00:00
Ralf Jung
5ff1a4164c use ui_test dependency builder for non-internal test dependencies 2025-07-01 13:27:49 +02:00
Kivooeo
1daba45636 cleaned up some tests 2025-07-01 16:26:57 +05:00
Trevor Gross
3b57db4d87 Give some UI tests more apropriate names
Prepare for rework done by the rest of RUST-142440.

Co-authored-by: Kivooeo <Kivooeo123@gmail.com>
2025-07-01 16:26:56 +05:00
Laurențiu Nicola
070b8e2a95
Merge pull request #20135 from Hmikihiro/migrate-promote_local_to_const-assist-tosyntaxeditor
Migrate `promote_local_to_const` Assist to `SyntaxEditor`
2025-07-01 11:23:23 +00:00
Hayashi Mikihiro
61825a6e1a Migrate promote_local_to_const Assist to SyntaxEditor
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-01 20:11:52 +09:00
许杰友 Jieyou Xu (Joe)
e82121f812
Merge pull request #2483 from rust-lang/tshepang-patch-1 2025-07-01 18:59:34 +08:00
Laurențiu Nicola
f38da2fa2e
Merge pull request #20134 from Hmikihiro/migrate-replace_is_method_with_if_let_method-to-SyntaxFactory
Migrate `replace_is_method_with_if_let_method` Assist to use `SyntaxFactory`
2025-07-01 10:39:30 +00:00
Kivooeo
f12120d2bd cleaned up some tests 2025-07-01 15:29:29 +05:00
Kivooeo
6ca9b43ea9 moved test files 2025-07-01 15:22:16 +05:00
Kivooeo
da5c6395da cleaned up some tests 2025-07-01 15:16:56 +05:00
Hayashi Mikihiro
64d3647d77 remove if-let chains
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-01 18:38:50 +09:00
MarcoIeni
311a99cac4
ci: support optional jobs 2025-07-01 11:25:10 +02:00
Dario Heinisch
e7fa5364c6 fix tests (run cargo uibless after fmt) 2025-07-01 10:51:18 +02:00
Dario Heinisch
708ea873b1 run cargo dev fmt 2025-07-01 10:46:27 +02:00
bors
86e05cd300 Auto merge of #142921 - JonathanBrouwer:rustc_attributes_parser, r=oli-obk
Port `#[rustc_layout_scalar_valid_range_start/end]` to the new attrib…

Ports `rustc_layout_scalar_valid_range_start` and `rustc_layout_scalar_valid_range_end` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197

r? `@jdonszelmann`
2025-07-01 08:33:00 +00:00
Hayashi Mikihiro
6a52b3a6cf Migrate replace_is_method_with_if_let_method Assist to use SyntaxFactory
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-01 17:19:16 +09:00
quaternic
6c4221818e
libm: Improved integer utilities, implement shifts and bug fixes for i256 and u256
`i256` and `u256`
- operators now use the same overflow convention as primitives
- implement `<<` and `-` (previously just `>>` and `+`)
- implement `Ord` correctly (the previous `PartialOrd` was broken)
- correct `i256::SIGNED` to `true`

The `Int`-trait is extended with `trailing_zeros`, `carrying_add`, and
`borrowing_sub`.
2025-07-01 08:07:48 +00:00
Philipp Krones
0732085b43
Polishing changelog update doc (#15167)
Polishing changelog update doc

changelog: none

r? @flip1995
2025-07-01 07:45:53 +00:00
Philipp Krones
a53144e8dd
Activate feature freeze automated notice (#15177)
changelog: none
2025-07-01 07:43:11 +00:00
A4-Tacks
7ddab22727
Add AsMut Borrow BorrowMut to minicore and famous_defs 2025-07-01 15:26:45 +08:00
Tim Neumann
7ca9f9363d tests/codegen/enum/enum-match.rs: accept negative range attribute 2025-07-01 09:17:29 +02:00
Samuel Tardieu
e32c65d714
Activate feature freeze automated notice 2025-07-01 09:08:46 +02:00
Tshepang Mbambo
09e0dcae1d
bootstrap: make comment more clear
Reading that at first made me think the code block ensures that the said artefacts are created
2025-07-01 08:56:53 +02:00
Benjamin Schulz
7d6764a45b Detect more cases of unused_parens around types 2025-07-01 08:56:20 +02:00
Jakub Beránek
c2daa28020
Do not enable LLD by default in the dist profile 2025-07-01 08:19:34 +02:00
Ralf Jung
b9b8fd22bb
Merge pull request #4433 from RalfJung/ci-balance
re-balance CI jobs
2025-07-01 06:13:45 +00:00
Ralf Jung
d72b15b883
Merge pull request #4432 from RalfJung/no-metadata
./miri toolchain: no need to run 'cargo metadata'
2025-07-01 05:56:12 +00:00
Ralf Jung
828f5944f8 re-balance CI jobs 2025-07-01 07:48:10 +02:00
Ralf Jung
83d519c6d0
Merge pull request #4431 from rust-lang/rustup-2025-07-01
Automatic Rustup
2025-07-01 05:35:39 +00:00
bors
f46ce66fcc Auto merge of #143267 - matthiaskrgr:rollup-suvzar6, r=matthiaskrgr
Rollup of 8 pull requests

Successful merges:

 - rust-lang/rust#143125 (Disable f16 on Aarch64 without neon for llvm < 20.1.1)
 - rust-lang/rust#143156 (inherit `#[align]` from trait method prototypes)
 - rust-lang/rust#143178 (rustdoc default faviocon)
 - rust-lang/rust#143234 (Replace `ItemCtxt::report_placeholder_type_error` match with a call to `TyCtxt::def_descr`)
 - rust-lang/rust#143245 (mbe: Add tests and restructure metavariable expressions)
 - rust-lang/rust#143257 (Upgrade dependencies in run-make-support)
 - rust-lang/rust#143263 (linkify CodeSuggestion in doc comments)
 - rust-lang/rust#143264 (fix: Emit suggestion filename if primary diagnostic span is dummy)

Failed merges:

 - rust-lang/rust#143251 (bootstrap: add build.tidy-extra-checks option)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-07-01 05:31:05 +00:00
Ralf Jung
c52d522298 ./miri toolchain: no need to run 'cargo metadata' 2025-07-01 07:24:40 +02:00