Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
9eb0ddf
Add CoerceShared field-wise reborrow WF checks
P8L1 Jun 5, 2026
674a342
Check omitted CoerceShared ZST fields
P8L1 Jul 9, 2026
ec4384c
Resolve CoerceShared field region obligations
P8L1 Jul 9, 2026
91131bb
rustdoc: fix `--enable-index-page` with finalize
notriddle Jul 17, 2026
a36c898
rustdoc: move CCI tests to run-make
notriddle Jul 17, 2026
6887d4d
rustdoc: write `rmake` scripts to test CCI
notriddle Jul 17, 2026
32f1625
Document the changed doc meta features
notriddle Jul 17, 2026
18d6ebf
Update src/doc/rustdoc/src/unstable-features.md
notriddle Jul 25, 2026
ac3994e
Update src/doc/rustdoc/src/unstable-features.md
notriddle Jul 25, 2026
c352016
rustdoc: clean up unused `@` build diectives
notriddle Jul 25, 2026
e03942b
rustdoc: no `--read-doc-meta-dir` and `--write-doc-meta-dir` at once
notriddle Jul 26, 2026
d0fec14
rustdoc: move CCI run-make tests into the directory
notriddle Jul 26, 2026
a4bc26a
rustc_llvm: Emit module summaries when using -Clto=fat
PiJoules Jun 18, 2026
9d136ed
rustdoc: stop constructing an unneeded synth Crate
notriddle Jul 28, 2026
f73cd1e
rustdoc: remove unused code from rmake tests
notriddle Jul 28, 2026
5f940df
rustdoc: generate settings and help at finalize
notriddle Jul 30, 2026
b777427
rustdoc: use `fs::write` on no-crate-specific HTML
notriddle Aug 1, 2026
c83df33
rustdoc: remove unused root path code
notriddle Aug 1, 2026
227eea7
rustdoc: document you can use one shared meta dir
notriddle Aug 1, 2026
49b5298
Add Enzyme bugfix to support rust+llvm23
ZuseZ4 Aug 4, 2026
01eb37c
Reorder the methods in `#[rustc_must_implement_one_of]`
ChayimFriedman2 Aug 5, 2026
bf44b2c
Revert "codegen_ssa: no dbginfo for scalable vec local w/ `-O0`"
davidtwco Aug 5, 2026
623d78a
set no_mangle_generic_items deny by default
HerrCai0907 Mar 30, 2026
9c37be3
fix various tests
RalfJung Jul 24, 2026
ef599d1
re-enable bool indexing assembly test for LLVM 23
amirHdev Aug 5, 2026
e8fa337
Remove `OnDuplicate::Custom`
JonathanBrouwer Aug 5, 2026
f1a459a
Do not take `doc(cfg())` into account when filtering doctests
GuillaumeGomez Jul 9, 2026
132b76e
Add regression test for `doc(cfg())` doctest (non-)filtering
GuillaumeGomez Jul 9, 2026
338d346
Ignore std doctests if not run on the right OS
GuillaumeGomez Jul 9, 2026
f1ea79c
Fix new windows doc code example
GuillaumeGomez Aug 3, 2026
d6132d0
Add missing `cfg_attr` on doc tests in stdlib `os` module
GuillaumeGomez Aug 3, 2026
49dae43
Fix `cfg_attr` for `library/std/src/os/unix/net/ancillary.rs`
GuillaumeGomez Aug 4, 2026
bd348d9
Update rustc-perf submodule
Kobzol Aug 5, 2026
576c9d1
Create output file after we checked that the markdown file is valid
GuillaumeGomez Aug 5, 2026
1de2daa
Add regression test for rustdoc invalid standalone markdown
GuillaumeGomez Aug 5, 2026
a5fb91e
Rollup merge of #159014 - GuillaumeGomez:doc-cfg-filter-doctest, r=Urgau
JonathanBrouwer Aug 5, 2026
6a69014
Rollup merge of #159029 - erickt:lto-module-summaries, r=cuviper
JonathanBrouwer Aug 5, 2026
14dcbd8
Rollup merge of #160574 - Kobzol:bump-rustc-perf, r=jieyouxu
JonathanBrouwer Aug 5, 2026
872bc2c
Rollup merge of #154585 - HerrCai0907:fix/no_mangle_generic_items, r=…
JonathanBrouwer Aug 5, 2026
408fecd
Rollup merge of #159473 - notriddle:rename-parts-to-dep-meta, r=camelid
JonathanBrouwer Aug 5, 2026
7dbc6af
Rollup merge of #157489 - P8L1:split/coerceshared-wf-check, r=oli-obk
JonathanBrouwer Aug 5, 2026
b156328
Rollup merge of #160532 - ZuseZ4:enzyme-llvm-23-usability, r=ZuseZ4
JonathanBrouwer Aug 5, 2026
a758fc4
Rollup merge of #160545 - ChayimFriedman2:ChayimFriedman2-patch-1, r=…
JonathanBrouwer Aug 5, 2026
7431f97
Rollup merge of #160558 - davidtwco:sve-revert-no-dbginfo-for-locals,…
JonathanBrouwer Aug 5, 2026
9e57983
Rollup merge of #160566 - amirHdev:reenable-bool-indexing-llvm23, r=Z…
JonathanBrouwer Aug 5, 2026
34e12b4
Rollup merge of #160569 - JonathanBrouwer:remove_on_duplicate_custom,…
JonathanBrouwer Aug 5, 2026
24a93e7
Rollup merge of #160576 - GuillaumeGomez:rustdoc-standalone-md, r=Urg…
JonathanBrouwer Aug 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions compiler/rustc_attr_parsing/src/attributes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,6 @@ pub(crate) enum OnDuplicate {

/// Ignore duplicates
Ignore,

/// Custom function called when a duplicate attribute is found.
///
/// - `unused` is the span of the attribute that was unused or bad because of some
/// duplicate reason
/// - `used` is the span of the attribute that was used in favor of the unused attribute
Custom(fn(cx: &AcceptContext<'_, '_>, used: Span, unused: Span)),
}

impl OnDuplicate {
Expand All @@ -252,7 +245,6 @@ impl OnDuplicate {
});
}
OnDuplicate::Ignore => {}
OnDuplicate::Custom(f) => f(cx, used, unused),
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions compiler/rustc_attr_parsing/src/attributes/transparency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ pub(crate) struct RustcMacroTransparencyParser;

impl SingleAttributeParser for RustcMacroTransparencyParser {
const PATH: &[Symbol] = &[sym::rustc_macro_transparency];
const ON_DUPLICATE: OnDuplicate = OnDuplicate::Custom(|cx, used, unused| {
cx.dcx().span_err(vec![used, unused], "multiple macro transparency attributes");
});
const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error;
const STABILITY: AttributeStability = unstable!(rustc_attrs);
const ALLOWED_TARGETS: AllowedTargets<'_> =
AllowedTargets::AllowList(&[Allow(Target::MacroDef)]);
Expand Down
14 changes: 1 addition & 13 deletions compiler/rustc_codegen_ssa/src/mir/debuginfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;
use rustc_middle::ty::layout::{LayoutOf, TyAndLayout};
use rustc_middle::ty::{Instance, Ty};
use rustc_middle::{bug, mir, ty};
use rustc_session::config::{DebugInfo, OptLevel};
use rustc_session::config::DebugInfo;
use rustc_span::{BytePos, DUMMY_SP, Span, Symbol, hygiene, sym};

use super::operand::{OperandRef, OperandValue};
Expand Down Expand Up @@ -460,18 +460,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
LocalRef::UnsizedPlace(_) => return,
};

// FIXME(arm-maintainers): LLVM uses GlobalISel with -O0 that doesn't support scalable
// vectors. It normally falls back to SDAG which does support scalable vectors, but there's
// a bug that means that isn't happening for debuginfo - so temporarily don't emit debuginfo
// for scalable vector locals when there are no optimisations until that bug is
// fixed. See <https://github.com/llvm/llvm-project/issues/204585>.
if base.layout.peel_transparent_wrappers(bx).ty.is_scalable_vector()
&& bx.tcx().backend_optimization_level(()) == OptLevel::No
&& bx.sess().opts.debuginfo != DebugInfo::None
{
return;
}

let vars = vars.iter().cloned().chain(fallback_var);

for var in vars {
Expand Down
Loading
Loading