Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
70dd3bc
Remove rustc_on_unimplemented's `append_const_msg`
mejrs Mar 31, 2026
8c04367
Refactor `get_standard_error_message`
mejrs Mar 31, 2026
b6bdfed
Avoid needless clone.
mejrs Mar 31, 2026
62db1eb
Improve shadowed private field diagnostics
chenyukang Mar 31, 2026
257d655
extend note for private field to more diagnostics
chenyukang Mar 31, 2026
86f99d2
extend note for private field to method call
chenyukang Mar 31, 2026
ce46df2
Sort shadowed field notes by source order
chenyukang Apr 2, 2026
98d259b
add min_adt_const_params gate tests
zedddie Mar 8, 2026
72fbd1c
implement `min_adt_const_params` feature
zedddie Mar 9, 2026
ae899cc
Clarify private field autoderef notes
chenyukang Apr 2, 2026
707c0d0
Add comment to borrow-checker
theemathas Apr 3, 2026
a2f7f3c
ty_utils: lower tuples to `ScalableVector` repr
davidtwco Feb 19, 2026
4fbcb03
cg_llvm: `sve_tuple_{create,get,set}` intrinsics
davidtwco Feb 19, 2026
a24ee03
cg_llvm/debuginfo: scalable vectors
davidtwco Feb 26, 2026
957320c
cg_llvm: `sve_cast` intrinsic
davidtwco Feb 28, 2026
c3d9f99
Remove an unused `StableHash` impl.
nnethercote Apr 3, 2026
2bf76b4
Add a regression test for an escaping late-bound region ICE during ca…
jakubadamw Apr 3, 2026
6dd94d6
Add a regression test for an index-out-of-bounds ICE on `partial_cmp`
jakubadamw Apr 3, 2026
fedb021
Add a regression test for an ICE when using `impl Trait` with a const…
jakubadamw Apr 3, 2026
6d6e0ae
Rollup merge of #153286 - davidtwco:sve-intrinsics, r=Amanieu
matthiaskrgr Apr 3, 2026
a4d278d
Rollup merge of #153592 - zedddie:adt_const_params_restricted_privacy…
matthiaskrgr Apr 3, 2026
ce74af2
Rollup merge of #154675 - chenyukang:yukang-fix-149546-private-field-…
matthiaskrgr Apr 3, 2026
dd46057
Rollup merge of #154653 - mejrs:append_const_msg, r=JonathanBrouwer
matthiaskrgr Apr 3, 2026
ad8468c
Rollup merge of #154743 - nnethercote:rm-two-unused-HashStable-impls,…
matthiaskrgr Apr 3, 2026
70b05be
Rollup merge of #154752 - theemathas:comment, r=lcnr
matthiaskrgr Apr 3, 2026
7a68d3f
Rollup merge of #154764 - jakubadamw:issue-113870-114056-118278, r=ja…
matthiaskrgr Apr 3, 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
Prev Previous commit
Next Next commit
Avoid needless clone.
  • Loading branch information
mejrs committed Mar 31, 2026
commit b6bdfedad65384dedcdb94953384c1f52893ce80
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
if let Some(s) = label {
// If it has a custom `#[rustc_on_unimplemented]`
// error message, let's display it as the label!
err.span_label(span, s.as_str().to_owned());
err.span_label(span, s);
if !matches!(leaf_trait_predicate.skip_binder().self_ty().kind(), ty::Param(_))
// When the self type is a type param We don't need to "the trait
// `std::marker::Sized` is not implemented for `T`" as we will point
Expand Down
Loading