Hello. Noob question. I have 2 failing tests and don't know why. Here is my pull request https://github.com/rust-lang/rust/pull/65506
I think the meaning of error-pattern is different for ui tests and run-fail tests. In the former the pattern is matched against compiler output, in the latter against the executable output.
Additionally if compilation succeeds the error patterns are completely ignored,
so test cases using them don't actually work correctly after being moved to ui.
Either way it seems like a bug in compiletest.