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 db62b53 commit 379e7eaCopy full SHA for 379e7ea
compiler/rustc_trait_selection/src/traits/misc.rs
@@ -147,7 +147,7 @@ pub fn type_allowed_to_implement_const_param_ty<'tcx>(
147
let infcx = tcx.infer_ctxt().build(TypingMode::non_body_analysis());
148
let ocx = traits::ObligationCtxt::new_with_diagnostics(&infcx);
149
150
- // Make sure certain types are gated with #[unstable_feature_bound(unsized_const_params)]
+ // Make sure impls certain types are gated with #[unstable_feature_bound(unsized_const_params)]
151
if need_unstable_feature_bound {
152
ocx.register_obligation(Obligation::new(
153
tcx,
0 commit comments