about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorToni Cárdenas <toni@tcardenas.me>2015-01-14 15:24:41 +0100
committerToni Cárdenas <toni@tcardenas.me>2015-01-14 15:24:41 +0100
commit428da78de10310744a33b5e5b7d85e1a11e8e7ed (patch)
treed885a605a71f2eac85e4e6a2acabae0b7e331438 /src/test/codegen/stack-alloc-string-slice.rs
parentd52398ef8cd93c6089ceacb176ae0dbe213d301e (diff)
downloadrust-428da78de10310744a33b5e5b7d85e1a11e8e7ed.tar.gz
rust-428da78de10310744a33b5e5b7d85e1a11e8e7ed.zip
TRPL: Anti-example failing for the wrong reason.
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