Fix typo
This commit is contained in:
parent
e13d659c12
commit
b874660c64
1 changed files with 1 additions and 1 deletions
|
|
@ -731,7 +731,7 @@ pub fn check_item_type<'a,'tcx>(ccx: &CrateCtxt<'a,'tcx>, it: &'tcx ast::Item) {
|
|||
"foreign items may not have type parameters");
|
||||
span_help!(ccx.tcx.sess, item.span,
|
||||
"consider using specialization instead of \
|
||||
type parameter");
|
||||
type parameters");
|
||||
}
|
||||
|
||||
if let ast::ForeignItemFn(ref fn_decl, _) = item.node {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue