Update feature gate error message
Co-Authored-By: varkor <github@varkor.com>
This commit is contained in:
parent
50ea5f4535
commit
16b7f44b07
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue