Skip to content

Commit a057b13

Browse files
committed
Don't allow + for evecs/estrs. It isn't implemented, and we are moving vec + to libs anyways.
1 parent 8aa5762 commit a057b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rustc/middle/ty.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2991,8 +2991,8 @@ fn is_binopable(_cx: ctxt, ty: t, op: ast::binop) -> bool {
29912991
ty_bool { tycat_bool }
29922992
ty_int(_) | ty_uint(_) | ty_var_integral(_) { tycat_int }
29932993
ty_float(_) { tycat_float }
2994-
ty_estr(_) | ty_str { tycat_str }
2995-
ty_evec(_, _) | ty_vec(_) { tycat_vec }
2994+
ty_str { tycat_str }
2995+
ty_vec(_) { tycat_vec }
29962996
ty_rec(_) | ty_tup(_) | ty_enum(_, _) { tycat_struct }
29972997
ty_bot { tycat_bot }
29982998
_ { tycat_other }

0 commit comments

Comments
 (0)