Closed
Description
Discovered while working on #48879
Due to #49855 I am forcing a number of tests without a // run-pass
directive to explicitly always fall in any compilation mode.
I was surprised to discover one of the tests was emitting no errors but it wasn't one of the ones I had to force a failure on, and yet it was not tagged as // run-pass
.
This was this test: https://github.com/rust-lang/rust/blob/master/src/test/ui/span/issue-23338-locals-die-before-temps-of-body.rs
The problem is that this occurs on line 14 of the test:
// Compare to run-pass/issue-23338-params-outlive-temps-of-body.rs
which AFAICT is probably matching some regexp in compiletest
e.g. like ^//.*run-pass.*$
Metadata
Metadata
Assignees
Labels
No labels