Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #131792

Merged
merged 26 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b8615aa
Move existing rfc3627 tests to a dedicated folder
Nadrieril Sep 24, 2024
c22588b
Add `min_match_ergonomics_2024` feature gate
Nadrieril Sep 20, 2024
94ab726
Add 'from_ref' and 'from_mut' constructors to 'core::ptr::NonNull';
bjoernager Sep 25, 2024
4abbdfa
Prepare tests
Nadrieril Oct 6, 2024
4107322
Error on resetted binding mode in edition 2024
Nadrieril Oct 6, 2024
575033c
Also disallow `ref`/`ref mut` overriding the binding mode
Nadrieril Oct 7, 2024
4aaada4
Stabilize `min_match_ergonomics_2024`
Nadrieril Oct 7, 2024
2ef0a8f
Change error message
Nadrieril Oct 7, 2024
67b85e2
Add fast-path when computing the default visibility
Urgau Oct 14, 2024
50b8029
Always recurse on predicates in BestObligation
compiler-errors Oct 14, 2024
fd2038d
Make sure the alias is actually rigid
compiler-errors Oct 14, 2024
8528387
Be better at reporting alias errors
compiler-errors Oct 14, 2024
0ead25c
Register a dummy candidate for failed structural normalization during…
compiler-errors Oct 14, 2024
f956dc2
Bless tests
compiler-errors Oct 16, 2024
b2b4ad4
Fix explicit_iter_loop in rustc_serialize
practicalrs Oct 16, 2024
6d82559
rustdoc: Rename "object safe" to "dyn compatible"
fmease Oct 12, 2024
8991fd4
Ignore lint-non-snake-case-crate#proc_macro_ on targets without unwind
c6c7 Oct 15, 2024
682bca3
Fix mismatched quotation mark
dufucun Oct 16, 2024
1817de6
Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnay
matthiaskrgr Oct 16, 2024
c1ed1f1
Rollup merge of #131381 - Nadrieril:min-match-ergonomics, r=pnkfelix
matthiaskrgr Oct 16, 2024
7047748
Rollup merge of #131594 - fmease:rustdoc-mv-obj-safe-dyn-compat, r=no…
matthiaskrgr Oct 16, 2024
2560453
Rollup merge of #131686 - Urgau:fast-path-vis, r=lqd
matthiaskrgr Oct 16, 2024
aac91f7
Rollup merge of #131699 - compiler-errors:better-errors-for-projectio…
matthiaskrgr Oct 16, 2024
1014970
Rollup merge of #131757 - c6c7:fixup-lint-non-snake-case-crate, r=jie…
matthiaskrgr Oct 16, 2024
75f418f
Rollup merge of #131783 - practicalrs:fix_explicit_iter_loop, r=compi…
matthiaskrgr Oct 16, 2024
06cd22c
Rollup merge of #131788 - dufucun:master, r=lqd
matthiaskrgr Oct 16, 2024
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
Add min_match_ergonomics_2024 feature gate
  • Loading branch information
Nadrieril committed Sep 24, 2024
commit c22588b700a62a1d93ff7bc30fd49583efab4ad2
3 changes: 3 additions & 0 deletions compiler/rustc_feature/src/unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,9 @@ declare_features! (
(unstable, macro_metavar_expr_concat, "1.81.0", Some(124225)),
/// Allows `#[marker]` on certain traits allowing overlapping implementations.
(unstable, marker_trait_attr, "1.30.0", Some(29864)),
/// A very restricted form of match ergonomics used over the 2024 edition transition to give
/// more time for T-lang to decide the final form of RFC3627.
(incomplete, min_match_ergonomics_2024, "CURRENT_RUSTC_VERSION", Some(123076)),
/// A minimal, sound subset of specialization intended to be used by the
/// standard library until the soundness issues with specialization
/// are fixed.
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_span/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ symbols! {
min_const_generics,
min_const_unsafe_fn,
min_exhaustive_patterns,
min_match_ergonomics_2024,
min_specialization,
min_type_alias_impl_trait,
minnumf128,
Expand Down