compiletest: Support matching on non-json lines in compiler output

and migrate most of remaining `error-pattern`s to it.
This commit is contained in:
Vadim Petrochenkov 2025-05-02 17:56:07 +03:00
parent 62c5f58f57
commit 56d6b4e427
63 changed files with 208 additions and 196 deletions

View file

@ -33,12 +33,12 @@
mod foo {
// Trivial functions like this one are imported very reliably by ThinLTO.
#[cfg(any(cfail1, cfail4))]
#[cfg(cfail1)]
pub fn inlined_fn() -> u32 {
1234
}
#[cfg(not(any(cfail1, cfail4)))]
#[cfg(not(cfail1))]
pub fn inlined_fn() -> u32 {
1234
}