about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-16Port `#[coverage]` to the new attribute systemSasha Pourcelot-405/+377
2025-07-16Fix LTO errorsAntoni Boucher-1/+2
2025-07-16simplfy memory kind handling during interningRalf Jung-42/+11
2025-07-16const heap: fix ICE on forgotten make_globalRalf Jung-67/+58
2025-07-16Add AsMut to minicore prelude::v1A4-Tacks-0/+1
2025-07-16Fix warnings in testsAntoni Boucher-16/+12
2025-07-16trait_sel: `MetaSized` always holds temporarilyDavid Wood-244/+77
As a temporary measure while a proper fix for `tests/ui/sized-hierarchy/incomplete-inference-issue-143992.rs` is implemented, make `MetaSized` obligations always hold. In effect, temporarily reverting the `sized_hierarchy` feature. This is a small change that can be backported.
2025-07-16Merge pull request #4471 from RalfJung/triagebot-welcomeOli Scherer-1/+12
triagebot welcome message for new users
2025-07-16Add test for aliases partial matchGuillaume Gomez-8/+20
2025-07-16Update rustdoc search tester to new alias outputGuillaume Gomez-25/+46
2025-07-16Make aliases search support partial matchingGuillaume Gomez-74/+83
2025-07-16triagebot welcome message for new usersRalf Jung-1/+12
2025-07-16Use hir::Trait in parameterA4-Tacks-37/+24
2025-07-16Merge pull request #4459 from ibraheemdev/ibraheem/global-ctorRalf Jung-30/+216
Add support for global constructors (i.e. life before main)
2025-07-16Auto merge of #143458 - petrochenkov:bindnomod, r=SparrowLiibors-229/+181
resolve: Merge `NameBindingKind::Module` into `NameBindingKind::Res` This is a simplification, but also an optimization, because now we load modules from external crates in a more lazy fashion.
2025-07-16minor tweaks and commentsRalf Jung-25/+35
2025-07-16Remove redundant type parametersA4-Tacks-4/+4
2025-07-16Add AsRef and Borrow for generate_mut_trait_implA4-Tacks-18/+96
- AsRef -> AsMut - Borrow -> BorrowMut Example ==================== ```rust //- minicore: as_ref struct Foo(i32); impl<T> core::convert::AsRef$0<i32> for Foo { fn as_ref(&self) -> &i32 { &self.0 } } ``` -> ```rust struct Foo(i32); $0impl<T> core::convert::AsMut<i32> for Foo { fn as_mut(&mut self) -> &mut i32 { &self.0 } } impl<T> core::convert::AsRef<i32> for Foo { fn as_ref(&self) -> &i32 { &self.0 } } ```
2025-07-16Merge pull request #4456 from nia-e/trace-incorporate-eventsRalf Jung-25/+314
trace: incorporate events
2025-07-16update comment to reference legacy `.ctors` sectionIbraheem Ahmed-1/+1
Co-authored-by: Ralf Jung <post@ralfj.de>
2025-07-16hook up native-lib bitsNia Espera-25/+314
2025-07-16Make frame spans appear on a separate trace lineStypox-22/+57
This was done by making the tracing_chrome tracing layer check if "tracing_separate_line" was in the arguments of a span, and act accordingly.
2025-07-16Boostrap: add warning on `optimize = false`Edoardo Marangoni-0/+8
2025-07-16Auto merge of #143998 - ehuss:update-cargo, r=ehussbors-0/+0
Update cargo 1 commits in eabb4cd923deb73e714f7ad3f5234d68ca284dbe..6833aa715d724437dc1247d0166afe314ab6854e 2025-07-09 22:07:55 +0000 to 2025-07-13 02:25:52 +0000 - Add `[hints]` table in `Cargo.toml`, and a `hints.mostly-unused` hint (rust-lang/cargo#15673)
2025-07-16type_id_eq: check that the hash fully matches the typeRalf Jung-58/+66
2025-07-16resolve: Optimize `fn traits_in_module`Vadim Petrochenkov-7/+6
2025-07-16resolve: Import `ty::Visibility` everywhereVadim Petrochenkov-42/+39
2025-07-15Improve comments inside `codegen_get_discr`Scott McMurray-2/+46
2025-07-16resolve: Remove trait `ToNameBinding`Vadim Petrochenkov-78/+84
2025-07-16resolve: Merge `NameBindingKind::Module` into `NameBindingKind::Res`Vadim Petrochenkov-111/+61
2025-07-16Auto merge of #144003 - ChrisDenton:ci4, r=ChrisDentonbors-0/+5
Ensure home directory exists This works around a missing mingw home directory in CI.
2025-07-16Ensure home directory existsChris Denton-0/+5
This works around a missing mingw home directory in CI
2025-07-15Update poison.rsMartin Ombura Jr.-1/+1
Typo in word "below"
2025-07-15Update cargoEric Huss-0/+0
2025-07-15Use hygenic macros for stable-mirJacob Greenfield-9/+9
2025-07-15Add regression testJonathan Brouwer-0/+46
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-15Fix ice for feature-gated cfg attributes applied to the crateJonathan Brouwer-38/+74
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-15add test for global constructorsIbraheem Ahmed-0/+43
2025-07-15add support for global constructors (i.e. life before main)Ibraheem Ahmed-32/+165
2025-07-15Add LocalKey<Cell>::updateCameron Steffen-0/+23
2025-07-15ci cleanup: rustdoc-gui-test now installs browser-ui-testbinarycat-100/+44
this removes the need for --unsafe-perm in the Dockerfile.
2025-07-15Clarify commentsJakub Beránek-2/+3
2025-07-15rustdoc-json: Structured attributesAlona Enraght-Moony-122/+316
Implements https://www.github.com/rust-lang/rust/issues/141358. This has 2 primary benefits: 1. For rustdoc-json consumers, they no longer need to parse strings of attributes, but it's there in a structured and normalized way. 2. For rustc contributors, the output of HIR pretty printing is no longer a versioned thing in the output. People can work on https://github.com/rust-lang/rust/issues/131229 without needing to bump `FORMAT_VERSION`. (Over time, as the attribute refractor continues, I expect we'll add new things to `rustdoc_json_types::Attribute`. But this can be done separately to the rustc changes).
2025-07-16Comment more code and make tests clearerDeadbeef-32/+49
Co-Authored-By: Ralf Jung <post@ralfj.de>
2025-07-15update change tracking with warning on removal of fields.bit-aloo-0/+5
2025-07-16format pointer later instead of eagerly converting to stringDeadbeef-15/+15
2025-07-16add `const_make_global`; err for `const_allocate` ptrs if didn't callDeadbeef-30/+361
Co-Authored-By: Ralf Jung <post@ralfj.de> Co-Authored-By: Oli Scherer <github333195615777966@oli-obk.de>
2025-07-15remove ccache from llvmbit-aloo-17/+3
2025-07-15remove description from rust toml structbit-aloo-21/+3
2025-07-15Merge pull request #20178 from ShoyuVanilla/cargo-config-cleanupShoyu Vanilla (Flint)-374/+419
chore: Cleanup cargo config queries