8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 663f3d5 + 2ed9c9f commit 0a2d8e4Copy full SHA for 0a2d8e4
core/src/marker.rs
@@ -996,15 +996,12 @@ marker_impls! {
996
bool,
997
char,
998
str /* Technically requires `[u8]: ConstParamTy` */,
999
+ (),
1000
{T: ConstParamTy, const N: usize} [T; N],
1001
{T: ConstParamTy} [T],
1002
{T: ?Sized + ConstParamTy} &T,
1003
}
1004
-// FIXME(adt_const_params): Add to marker_impls call above once not in bootstrap
1005
-#[unstable(feature = "adt_const_params", issue = "95174")]
1006
-impl ConstParamTy for () {}
1007
-
1008
/// A common trait implemented by all function pointers.
1009
#[unstable(
1010
feature = "fn_ptr_trait",
0 commit comments