diff options
| author | Graydon Hoare <[email protected]> | 2010-06-30 00:56:44 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-06-30 00:56:44 -0700 |
| commit | 8120a59097ce81e98fed6c670e5da03cc3b9c78f (patch) | |
| tree | 45c54ec20efbb5d57e83280cdd1a69576d5a4bcc | |
| parent | Fix error-message typo. (diff) | |
| download | rust-8120a59097ce81e98fed6c670e5da03cc3b9c78f.tar.xz rust-8120a59097ce81e98fed6c670e5da03cc3b9c78f.zip | |
Init the exterior ty, not the inner ty.
| -rw-r--r-- | src/boot/me/trans.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml index e33e3ed4..38088e94 100644 --- a/src/boot/me/trans.ml +++ b/src/boot/me/trans.ml @@ -2818,7 +2818,7 @@ let trans_visitor | Ast.TY_constrained (ty, _) -> deref_ty initializing cell ty - | Ast.TY_exterior ty -> + | Ast.TY_exterior ty' -> check_exterior_rty cell; if initializing then init_exterior cell ty; @@ -2828,7 +2828,7 @@ let trans_visitor (Abi.exterior_rc_slot_field_body) in (* Init recursively so @@@@T chain works. *) - deref_ty initializing cell ty + deref_ty initializing cell ty' | _ -> (cell, ty) |