Skip to content

Commit

Permalink
Rollup merge of #126830 - RalfJung:unsized-fn-params, r=compiler-errors
Browse files Browse the repository at this point in the history
make unsized_fn_params an internal feature

As suggested [here](#123894 (comment)).
r? `@compiler-errors`

Fixes #123887 (kind of -- ICEs on internal features are considered acceptable so this issue is not-a-bug once this PR lands)
  • Loading branch information
matthiaskrgr committed Jun 23, 2024
2 parents 6736641 + 0937996 commit 0a7adaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_feature/src/unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ declare_features! (
/// Allows unsafe on extern declarations and safety qualifiers over internal items.
(unstable, unsafe_extern_blocks, "1.80.0", Some(123743)),
/// Allows unsized fn parameters.
(unstable, unsized_fn_params, "1.49.0", Some(48055)),
(internal, unsized_fn_params, "1.49.0", Some(48055)),
/// Allows unsized rvalues at arguments and parameters.
(incomplete, unsized_locals, "1.30.0", Some(48055)),
/// Allows unsized tuple coercion.
Expand Down

0 comments on commit 0a7adaf

Please sign in to comment.