about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-15 18:29:26 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-15 18:42:43 +0530
commita2840f35603017db2d946d35164a714e2d06bf7b (patch)
tree518fe5a5fa1ec99fbc90fdbd1d1aff479c47f79f /src/rustllvm/ExecutionEngineWrapper.cpp
parent2935d67e08c31067ddc9d3f6589054b5f7dad81a (diff)
parentfb05f282d7810f93c9dcb0ef979e66648a8716fc (diff)
downloadrust-a2840f35603017db2d946d35164a714e2d06bf7b.tar.gz
rust-a2840f35603017db2d946d35164a714e2d06bf7b.zip
Rollup merge of #22278 - nikomatsakis:rustc-error, r=nikomatsakis
 Add `#[rustc_error]` annotation, which causes trans to signal an error
if found on the `main()` function. This lets you write tests that live
in `compile-fail` but are expected to compile successfully. This is
handy when you have many small variations on a theme that you want to
keep together, and you are just testing the type checker, not the
runtime semantics.

r? @pnkfelix
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions