`feature(extract_if)` was stabilized in Rust 1.87.0 [1]. Thus update the comment to reflect that. Alternatively, we could use it unstably already. Link: https://github.com/rust-lang/rust/pull/137109 [1] Signed-off-by: Miguel Ojeda --- rust/macros/kunit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/macros/kunit.rs b/rust/macros/kunit.rs index 6be880d634e2..6f6d746b8dbb 100644 --- a/rust/macros/kunit.rs +++ b/rust/macros/kunit.rs @@ -87,7 +87,7 @@ pub(crate) fn kunit_tests(test_suite: Ident, mut module: ItemMod) -> Result= 1.87.0. let before_len = f.attrs.len(); f.attrs.retain(|attr| !attr.path().is_ident("test")); if f.attrs.len() == before_len { -- 2.53.0