about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-02-03 11:32:26 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-02-03 11:55:46 -0500
commit47f18659ff629792f49b5ed87e870687703831fe (patch)
tree940d681438c75104e8b4fb95485a2d6f2a2e63c9 /src/test/codegen/stack-alloc-string-slice.rs
parent498595a3dc90b7df08e90b04278b4de33c5ab3cf (diff)
downloadrust-47f18659ff629792f49b5ed87e870687703831fe.tar.gz
rust-47f18659ff629792f49b5ed87e870687703831fe.zip
Update compile-fail tests to use the expected type to force the
closure kind, thereby detecting what happens if there are
mismatches. Simply removing the `:` annotations caused most of these
tests to pass or produce other errors, because the inference would
convert the closure into a more appropriate kind. (The ability to
override the inference by using the expected type is an important
backdoor partly for this reason.)
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions