Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0a2d8e4

Browse files
authored
Rollup merge ofrust-lang#127070 - Sky9x:unit-const-param-ty, r=BoxyUwU
add () to the marker_impls macro for ConstParamTySeems to have escaped bootstrap
2 parents663f3d5 +2ed9c9f commit0a2d8e4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎core/src/marker.rs‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -996,15 +996,12 @@ marker_impls! {
996996
bool,
997997
char,
998998
str/* Technically requires `[u8]: ConstParamTy` */,
999+
(),
9991000
{T:ConstParamTy,constN:usize}[T;N],
10001001
{T:ConstParamTy}[T],
10011002
{T: ?Sized +ConstParamTy}&T,
10021003
}
10031004

1004-
// FIXME(adt_const_params): Add to marker_impls call above once not in bootstrap
1005-
#[unstable(feature ="adt_const_params", issue ="95174")]
1006-
implConstParamTyfor(){}
1007-
10081005
/// A common trait implemented by all function pointers.
10091006
#[unstable(
10101007
feature ="fn_ptr_trait",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp