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:
parent
62c5f58f57
commit
56d6b4e427
63 changed files with 208 additions and 196 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue