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-01-15 14:11:54 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-15 14:11:54 -0800
commitb86a84867a31a04b9e9c35efc313b2961312def2 (patch)
tree852a11b7ffd9afeec21572408ab3d1f18f8a1bcb /src/test/codegen/stack-alloc-string-slice.rs
parent7e2ef2cbc69291cfa6e4616891326608911a6736 (diff)
parent428da78de10310744a33b5e5b7d85e1a11e8e7ed (diff)
downloadrust-b86a84867a31a04b9e9c35efc313b2961312def2.tar.gz
rust-b86a84867a31a04b9e9c35efc313b2961312def2.zip
rollup merge of #21141: tcard/master
Really small correction.

This anti-example in the Closures section is supposed to fail because of a borrow, but it was failing at the type inference because of insufficient type information.

This makes it fail for the expected reason.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions