Skip to content

Commit

Permalink
Update feature gate error message
Browse files Browse the repository at this point in the history
Co-Authored-By: varkor <github@varkor.com>
  • Loading branch information
skinnyBat and varkor committed Oct 8, 2019
1 parent 50ea5f4 commit 16b7f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
),
);
Expand Down

0 comments on commit 16b7f44

Please sign in to comment.