1
Fork 0

Update feature gate error message

Co-Authored-By: varkor <github@varkor.com>
This commit is contained in:
Ben Lewis 2019-10-08 07:55:47 +13:00 committed by ben
parent 50ea5f4535
commit 16b7f44b07

View file

@ -1524,7 +1524,7 @@ pub fn checked_type_of(tcx: TyCtxt<'_>, def_id: DefId, fail: bool) -> Option<Ty<
hir_ty.span,
feature_gate::GateIssue::Language,
&format!(
"use of {} as const generic arguments are unstable",
"using {} as const generic parameters is unstable",
unsupported_type
),
);