Skip to content

Commit c8761d4

Browse files
committed
Remove unused lifetimes
This is blocking the Crater run in rust-lang/rust#92413, since a 'try' build needs to build Cargo.
1 parent 1f12b88 commit c8761d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/core/resolver/encode.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ impl<'de> de::Deserialize<'de> for EncodablePackageId {
554554
}
555555
}
556556

557-
impl<'a> ser::Serialize for Resolve {
557+
impl ser::Serialize for Resolve {
558558
fn serialize<S>(&self, s: S) -> Result<S::Ok, S::Error>
559559
where
560560
S: ser::Serializer,

src/cargo/ops/cargo_compile.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub struct CompileOptions {
8383
pub honor_rust_version: bool,
8484
}
8585

86-
impl<'a> CompileOptions {
86+
impl CompileOptions {
8787
pub fn new(config: &Config, mode: CompileMode) -> CargoResult<CompileOptions> {
8888
Ok(CompileOptions {
8989
build_config: BuildConfig::new(config, None, &[], mode)?,

0 commit comments

Comments
 (0)