diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-15 18:29:26 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-15 18:42:43 +0530 |
| commit | a2840f35603017db2d946d35164a714e2d06bf7b (patch) | |
| tree | 518fe5a5fa1ec99fbc90fdbd1d1aff479c47f79f /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 2935d67e08c31067ddc9d3f6589054b5f7dad81a (diff) | |
| parent | fb05f282d7810f93c9dcb0ef979e66648a8716fc (diff) | |
| download | rust-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
