about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-06-12Sync from rust e703dff8fe220b78195c53478e83fb2f68d8499cbjorn3-20/+14
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-5/+5
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-11/+8
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-1/+0
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-87/+73
2025-06-12Remove lower_arg_ty as all callers were passing `None`Oli Scherer-12/+2
2025-06-12Move submodule path cache from `parse_gitmodules` to `Builder`Jakub Beránek-27/+30
It would not be correct if multiple values of `target_dir` were ever passed to the function in the same process.
2025-06-12Remove environment variable modification in `test_default_compiler_wasi`Jakub Beránek-8/+10
2025-06-12Remove `RefCell` from `cc/cxx/ar/ranlib`Jakub Beránek-49/+44
It wasn't really needed there.
2025-06-12Stop using Config for `tempdir-as-a-service` in `build_stamp` testsJakub Beránek-14/+10
2025-06-12Move `shared_helpers` test to a dedicated moduleJakub Beránek-8/+3
2025-06-12Merge pull request #19985 from ChayimFriedman2/proc-macro-srv-ast-idLukas Wirth-102/+96
fix: Support spans with proc macro servers from before the ast id changes
2025-06-12ignore `run-make` tests that need `std` on `no_std` targetsFolkert de Vries-21/+184
In particular, anything that includes `none` in the target tripple, and `nvptx64-nvidia-cuda`
2025-06-12Support spans with proc macro servers from before the ast id changesChayim Refael Friedman-102/+96
The only thing changed is the value of the fixup ast id, so we just swap it.
2025-06-12Add support for snapshot tests with instaJakub Beránek-0/+43
2025-06-12Merge pull request #700 from FractalFir/fuzz_supportantoyo-23/+507
Add support for automatically reducing found fuzz cases.
2025-06-12Fix testsLukas Wirth-10/+10
2025-06-12Rename tool-config to tool and add docsStypox-17/+20
2025-06-12Return item tree query results by refLukas Wirth-99/+82
2025-06-12Remove dead codeLukas Wirth-51/+35
2025-06-12Shrink `ModItem` by usizeLukas Wirth-24/+34
2025-06-12Merge pull request #2464 from rust-lang/rustc-pullTshepang Mbambo-5902/+8927
Rustc pull update
2025-06-12Auto merge of #142127 - compiler-errors:nested-goals-certainty, r=lcnrbors-94/+154
Apply nested goals certainty to `InspectGoals` for normalizes-to ...so that normalizes-to goals don't have `Certainty::Yes` even if they have nested goals which don't hold. r? lcnr
2025-06-12Tracking the old name of renamed unstable library attributexizheyin-33/+58
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-12Introduce `-Zmacro-stats`.Nicholas Nethercote-52/+610
It collects data about macro expansions and prints them in a table after expansion finishes. It's very useful for detecting macro bloat, especially for proc macros. Details: - It measures code snippets by pretty-printing them and then measuring lines and bytes. This required a bunch of additional pretty-printing plumbing, in `rustc_ast_pretty` and `rustc_expand`. - The measurement is done in `MacroExpander::expand_invoc`. - The measurements are stored in `ExtCtxt::macro_stats`.
2025-06-12Add myself (WaffleLapkin) to review rotationWaffle Lapkin-0/+2
2025-06-12early linting: avoid redundant calls to `check_id`Deadbeef-27/+16
2025-06-12Merge pull request #19983 from ChayimFriedman2/proc-macro-eqChayim Refael Friedman-6/+52
fix: Fix comparison of proc macros
2025-06-12Remove bootstrap adhoc groupJakub Beránek-7/+0
It corresponds 1:1 to the bootstrap team, and with the review preferences we shouldn't need it.
2025-06-12Fix comparison of proc macrosChayim Refael Friedman-6/+52
Comparing the TypeId is not enough, they also contain data.
2025-06-12detect when variants have the same name as an associated functionJana Dönszelmann-1/+54
2025-06-12add test for dead code caused by enum variants shadowing an associated functionJana Dönszelmann-0/+40
2025-06-12Add documentation for init_logger_with_additional_layerStypox-4/+14
2025-06-12Remove `AttrOwner`Lukas Wirth-68/+59
2025-06-12Don't hardcode the intrinsic return types twice in the compilerOli Scherer-7/+7
2025-06-12avoid `&mut P<T>` in `visit_expr` etc methodsDeadbeef-3/+3
2025-06-12avoid `&mut P<T>` in `visit_expr` etc methodsDeadbeef-45/+62
2025-06-12Ditch the unnecessary smallvecLukas Wirth-12/+15
2025-06-12Coalesce item tree data mapsLukas Wirth-181/+138
2025-06-12`AttrOwner` needs no `ModItem`Lukas Wirth-47/+36
2025-06-12Remove `FileItemTreeId`Lukas Wirth-181/+116
2025-06-12Remove `ItemTreeId`Lukas Wirth-86/+52
2025-06-12Add support for $crate to IdentDaniel Bloom-49/+859
2025-06-12Update the stdarch submoduleTrevor Gross-1/+0
Includes the following changes: * Add s390x z17 target features [1] * Remove `compiler-builtins` from `rustc-dep-of-std` dependencies [2] * Darwin AArch64 detection update [3] * Fixes for the latest nightly [4] * Add a lockfile [5] [1]: https://github.com/rust-lang/stdarch/pull/1826 [2]: https://github.com/rust-lang/stdarch/pull/1825 [3]: https://github.com/rust-lang/stdarch/pull/1827 [4]: https://github.com/rust-lang/stdarch/pull/1830 [5]: https://github.com/rust-lang/stdarch/pull/1829
2025-06-12remove 'static in some placesJana Dönszelmann-13/+13
2025-06-12Make `missing_fragment_specifier` an unconditional errorTrevor Gross-339/+102
This was attempted in [1] then reverted in [2] because of fallout. Recently, this was made an edition-dependent error in [3]. Make missing fragment specifiers an unconditional error again. [1]: https://github.com/rust-lang/rust/pull/75516 [2]: https://github.com/rust-lang/rust/pull/80210 [3]: https://github.com/rust-lang/rust/pull/128006
2025-06-12add error message for unused duplicateJana Dönszelmann-4/+2
2025-06-12introduce new lint infraJana Dönszelmann-227/+663
lint on duplicates during attribute parsing To do this we stuff them in the diagnostic context to be emitted after hir is constructed
2025-06-12Merge pull request #19981 from Veykril/push-tzzunsrqqunvLukas Wirth-5/+6
fix: Do not force descend into derives for goto IDE features
2025-06-12Merge pull request #19980 from Veykril/push-qsuttvtvtytrLukas Wirth-38/+39
`ItemTree`'s `ItemVisibilities` has no identity, so deduplicate