Pick out error in type due to delightfully clear logging.
This commit is contained in:
parent
4cd49c0ab0
commit
77cf4a880c
|
@ -438,7 +438,7 @@ let process_crate (cx:ctxt) (crate:Ast.crate) : unit =
|
||||||
| (TYSPEC_collection tv, TYSPEC_resolved (params, ty)) ->
|
| (TYSPEC_collection tv, TYSPEC_resolved (params, ty)) ->
|
||||||
let rec unify ty =
|
let rec unify ty =
|
||||||
match ty with
|
match ty with
|
||||||
Ast.TY_vec ty -> unify_ty auto_deref ty tv; ty
|
Ast.TY_vec ty' -> unify_ty auto_deref ty' tv; ty
|
||||||
| Ast.TY_str ->
|
| Ast.TY_str ->
|
||||||
unify_ty auto_deref (Ast.TY_mach TY_u8) tv; ty
|
unify_ty auto_deref (Ast.TY_mach TY_u8) tv; ty
|
||||||
| Ast.TY_exterior ty
|
| Ast.TY_exterior ty
|
||||||
|
|
Loading…
Reference in New Issue