about summary refs log tree commit diff
path: root/src/test/compile-fail/rustc-error.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-16/+0
2015-02-17Fix tests for rustc_*Manish Goregaokar-0/+2
2015-02-13Add `#[rustc_error]` annotation, which causes trans to signal an errorNiko Matsakis-0/+14
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.