diff options
| author | bors <bors@rust-lang.org> | 2013-08-28 20:30:36 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-28 20:30:36 -0700 |
| commit | 89d04009c160b7a88b03f42c633220457bd72a09 (patch) | |
| tree | 8fd011b3cac9944e9425e80e571dce7ecde1a1a5 /src/rustllvm/RustWrapper.cpp | |
| parent | 26e925a1f01f830f6ca1ff377461a6fab30dc9e6 (diff) | |
| parent | 8557219cd85808d308ff954be31bfbab3e4f65f4 (diff) | |
| download | rust-89d04009c160b7a88b03f42c633220457bd72a09.tar.gz rust-89d04009c160b7a88b03f42c633220457bd72a09.zip | |
auto merge of #8800 : fhahn/rust/ticket_5239, r=alexcrichton
I've added a test for the second example mentioned in #5239. The first example does not compile with a reasonable error message. Should I add a compile-fail test for that example as well?
/rust/src/test/run-pass/issue-5239.rs:15:45: 15:51 error: binary operation + cannot be applied to type `&int`
rust/src/test/run-pass/issue-5239.rs:15 let _f = |ref x: int| { x += 1};
^~~~~~
error: aborting due to previous error
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
