diff --git a/src/cargo/core/workspace.rs b/src/cargo/core/workspace.rs index e187b7ca326..28897365b89 100644 --- a/src/cargo/core/workspace.rs +++ b/src/cargo/core/workspace.rs @@ -577,7 +577,7 @@ impl<'gctx> Workspace<'gctx> { } /// Returns an iterator over default packages in this workspace - pub fn default_members<'a>(&'a self) -> impl Iterator { + pub fn default_members<'a>(&'a self) -> impl Iterator { let packages = &self.packages; self.default_members .iter() diff --git a/tests/testsuite/lints/implicit_features.rs b/tests/testsuite/lints/implicit_features.rs index 6a98a24d6d8..95cd747d4c5 100644 --- a/tests/testsuite/lints/implicit_features.rs +++ b/tests/testsuite/lints/implicit_features.rs @@ -127,7 +127,7 @@ unused_optional_dependency = "allow" .masquerade_as_nightly_cargo(&["cargo-lints", "edition2024"]) .with_stderr_data(str![[r#" [UPDATING] `dummy-registry` index -[LOCKING] 1 package to latest Rust 1.82.0-nightly compatible version +[LOCKING] 1 package to latest Rust 1.[..] compatible version [CHECKING] foo v0.1.0 ([ROOT]/foo) [FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s