you can have // compile-pass markers in headers of compile-fail/ tests.
(It seems only `compile-fail-fulldeps/` exercises this functionality, unfortunately.)
This commit is contained in:
parent
bae2bf12f6
commit
1df6d42fff
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ impl<'test> TestCx<'test> {
|
|||
|
||||
fn should_compile_successfully(&self) -> bool {
|
||||
match self.config.mode {
|
||||
ParseFail | CompileFail => false,
|
||||
ParseFail | CompileFail => self.props.compile_pass,
|
||||
RunPass => true,
|
||||
Ui => self.props.compile_pass,
|
||||
Incremental => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue