about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-02-12 12:53:31 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-02-13 11:10:51 -0500
commitfb05f282d7810f93c9dcb0ef979e66648a8716fc (patch)
tree435b73304d31a41f51c7eaa254d424bf230b58ad /src/rustllvm/ExecutionEngineWrapper.cpp
parentcf636c233dfeef5abf0de8fb35e23c0a161810d2 (diff)
downloadrust-fb05f282d7810f93c9dcb0ef979e66648a8716fc.tar.gz
rust-fb05f282d7810f93c9dcb0ef979e66648a8716fc.zip
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.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions