Skip to content

Commit 16b7f44

Browse files
skinnyBatvarkor
andcommitted
Update feature gate error message
Co-Authored-By: varkor <[email protected]>
1 parent 50ea5f4 commit 16b7f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,7 +1524,7 @@ pub fn checked_type_of(tcx: TyCtxt<'_>, def_id: DefId, fail: bool) -> Option<Ty<
15241524
hir_ty.span,
15251525
feature_gate::GateIssue::Language,
15261526
&format!(
1527-
"use of {} as const generic arguments are unstable",
1527+
"using {} as const generic parameters is unstable",
15281528
unsupported_type
15291529
),
15301530
);

0 commit comments

Comments
 (0)