about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorEdward Wang <edward.yu.wang@gmail.com>2015-02-01 02:49:12 +0800
committerEdward Wang <edward.yu.wang@gmail.com>2015-02-01 04:06:06 +0800
commit1935bbd91321b4ebb61b21a300f43234a0be6433 (patch)
treecc5c68966939f30f9de76ae5a77d453fcb9318c1 /src/test/codegen/stack-alloc-string-slice.cc
parent474b324eda10440d6568ef872a7307d38e7de95b (diff)
downloadrust-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