diff options
| author | Edward Wang <edward.yu.wang@gmail.com> | 2015-02-01 02:49:12 +0800 |
|---|---|---|
| committer | Edward Wang <edward.yu.wang@gmail.com> | 2015-02-01 04:06:06 +0800 |
| commit | 1935bbd91321b4ebb61b21a300f43234a0be6433 (patch) | |
| tree | cc5c68966939f30f9de76ae5a77d453fcb9318c1 /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | 474b324eda10440d6568ef872a7307d38e7de95b (diff) | |
| download | rust-1935bbd91321b4ebb61b21a300f43234a0be6433.tar.gz rust-1935bbd91321b4ebb61b21a300f43234a0be6433.zip | |
Make use of a binary operator's RHS type for LHS inference
For "symmetric" binary operators, meaning the types of two side must be equal, if the type of LHS doesn't know yet but RHS does, use that as an hint to infer LHS' type. Closes #21634
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions
