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.
1 parent 39a5e93 commit c85acb9Copy full SHA for c85acb9
compiler/rustc_trait_selection/src/traits/misc.rs
@@ -156,7 +156,7 @@ pub fn type_allowed_to_implement_const_param_ty<'tcx>(
156
ty::ClauseKind::UnstableFeature(sym::unsized_const_params),
157
));
158
159
- if !ocx.select_where_possible().is_empty() {
+ if !ocx.select_all_or_error().is_empty() {
160
return Err(ConstParamTyImplementationError::UnsizedConstParamsFeatureRequired);
161
}
162
0 commit comments