diff options
| author | Graydon Hoare <[email protected]> | 2010-07-02 12:52:58 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-02 12:52:58 -0700 |
| commit | f522605f6b5b48ec64143c8e522f2d0c6537d78d (patch) | |
| tree | e51d7f1f58cf33d660cf17fa8d33cc0ab07074e1 | |
| parent | Don't unify the *input* to init-box with a box constraint, nurr. (diff) | |
| download | rust-f522605f6b5b48ec64143c8e522f2d0c6537d78d.tar.xz rust-f522605f6b5b48ec64143c8e522f2d0c6537d78d.zip | |
Permit mutables as comparable in all contexts.
| -rw-r--r-- | src/boot/me/type.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/type.ml b/src/boot/me/type.ml index 5eec6860..b364ff56 100644 --- a/src/boot/me/type.ml +++ b/src/boot/me/type.ml @@ -369,7 +369,7 @@ let process_crate (cx:ctxt) (crate:Ast.crate) : unit = | Ast.TY_constrained (ty, _) -> is_comparable_or_ordered comparable ty | Ast.TY_mutable ty -> - ucx.mut_ok && is_comparable_or_ordered comparable ty + is_comparable_or_ordered comparable ty | Ast.TY_box ty -> ucx.box_ok && is_comparable_or_ordered comparable ty in |