diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-05-02 17:56:07 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-05-04 18:27:45 +0300 |
| commit | 56d6b4e427c271e8f069500f6fac4e209e946144 (patch) | |
| tree | 9e553eb225c1befc357a9b73f014d6dd2086ea7e /tests/incremental/thinlto | |
| parent | 62c5f58f57670ce65e7fec34f8c4ba00c27da2d9 (diff) | |
| download | rust-56d6b4e427c271e8f069500f6fac4e209e946144.tar.gz rust-56d6b4e427c271e8f069500f6fac4e209e946144.zip | |
compiletest: Support matching on non-json lines in compiler output
and migrate most of remaining `error-pattern`s to it.
Diffstat (limited to 'tests/incremental/thinlto')
| -rw-r--r-- | tests/incremental/thinlto/cgu_keeps_identical_fn.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs index 5751759223b..d124a3498c4 100644 --- a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs +++ b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs @@ -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 } |
