about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-10 08:41:41 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-10 08:41:41 -0800
commitc177da6675e5e0c471101cd98d6a7d9040b0150e (patch)
tree0a6e7d14cd3848dbafd96df33418b19a920b7fb0 /src/test/codegen/stack-alloc-string-slice.rs
parent7fcc330ea3a5cbe9b861edf05b74d332b53a64b0 (diff)
parenta1b3189f4864f1ada755e9ebc2e0ce1ac5bf2e06 (diff)
downloadrust-c177da6675e5e0c471101cd98d6a7d9040b0150e.tar.gz
rust-c177da6675e5e0c471101cd98d6a7d9040b0150e.zip
rollup merge of #22012: pnkfelix/propagate-container-across-object-cast
Given `<expr> as Box<Trait>`, infer that `Box<_>` is expected type for `<expr>`.

This is useful for addressing fallout from newly proposed box protocol; see #22006 for examples of such fallout, much of which will be unnecessary with this fix.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions