提交 a057b132 编写于 作者: M Michael Sullivan

Don't allow + for evecs/estrs. It isn't implemented, and we are moving vec + to libs anyways.

上级 8aa5762d
......@@ -2991,8 +2991,8 @@ fn tycat(ty: t) -> int {
ty_bool { tycat_bool }
ty_int(_) | ty_uint(_) | ty_var_integral(_) { tycat_int }
ty_float(_) { tycat_float }
ty_estr(_) | ty_str { tycat_str }
ty_evec(_, _) | ty_vec(_) { tycat_vec }
ty_str { tycat_str }
ty_vec(_) { tycat_vec }
ty_rec(_) | ty_tup(_) | ty_enum(_, _) { tycat_struct }
ty_bot { tycat_bot }
_ { tycat_other }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册