Permit mutables as comparable in all contexts.
This commit is contained in:
parent
f955d06ca9
commit
f522605f6b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue