Skip to content

Migrate UnsizedConstParamTy to unstable impl of ConstParamTy_ #145095

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

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

tiif
Copy link
Member

@tiif tiif commented Aug 8, 2025

Now that we have #[unstable_feature_bound], we can remove UnsizedConstParamTy that was meant to be an unstable impl of stable type and ConstParamTy_ trait.

r? @BoxyUwU

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 8, 2025
@rust-log-analyzer

This comment has been minimized.

fmease added a commit to fmease/rust that referenced this pull request Aug 11, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang#145095

r? `@BoxyUwU`
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang#145095

r? ``@BoxyUwU``
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang#145095

r? ```@BoxyUwU```
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang#145095

r? ````@BoxyUwU````
fmease added a commit to fmease/rust that referenced this pull request Aug 12, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang#145095

r? `````@BoxyUwU`````
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 12, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang#145095

r? ``````@BoxyUwU``````
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 12, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang#145095

r? ```````@BoxyUwU```````
rust-timer added a commit that referenced this pull request Aug 12, 2025
Rollup merge of #145251 - tiif:support_trait, r=BoxyUwU

Support using #[unstable_feature_bound] on trait

This is needed to unblock #145095

r? ```````@BoxyUwU```````
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Aug 13, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang/rust#145095

r? ```````@BoxyUwU```````
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Aug 18, 2025
Support using #[unstable_feature_bound] on trait

This is needed to unblock rust-lang/rust#145095

r? ```````@BoxyUwU```````
@rust-cloud-vms rust-cloud-vms bot force-pushed the unstable_const_param branch from a4bd0a8 to 262cf11 Compare August 18, 2025 15:00
Ok(())
})
} else if tcx.features().adt_const_params() {
if tcx.features().adt_const_params() || tcx.features().unsized_const_params() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should make unsized_const_params no longer be a lang feature. you can do this by removing its entry from unstable.rs

@tiif
Copy link
Member Author

tiif commented Aug 22, 2025

Currently all tests in tests/ui passed locally, but some test change feels suspicious, will take a closer look soon 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants