From e331f7102d9631a4468920c5f830b5d48d1ffbe3 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 3 Aug 2022 08:51:14 -0400 Subject: [PATCH] mark some unused variables --- components/salsa-entity-mock/src/input.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/salsa-entity-mock/src/input.rs b/components/salsa-entity-mock/src/input.rs index 442c7504..12fe2f43 100644 --- a/components/salsa-entity-mock/src/input.rs +++ b/components/salsa-entity-mock/src/input.rs @@ -1,6 +1,6 @@ use crate::{ cycle::CycleRecoveryStrategy, - ingredient::{Ingredient, MutIngredient}, + ingredient::Ingredient, key::{DatabaseKeyIndex, DependencyIndex}, runtime::{local_state::QueryInputs, Runtime}, AsId, IngredientIndex, Revision, @@ -37,7 +37,7 @@ where } } - pub fn new_input(&mut self, runtime: &mut Runtime) -> Id { + pub fn new_input(&mut self, _runtime: &mut Runtime) -> Id { let next_id = self.counter; self.counter += 1; Id::from_id(crate::Id::from(next_id)) @@ -48,7 +48,7 @@ impl Ingredient for InputIngredient where Id: InputId, { - fn maybe_changed_after(&self, db: &DB, input: DependencyIndex, revision: Revision) -> bool { + fn maybe_changed_after(&self, _db: &DB, _input: DependencyIndex, _revision: Revision) -> bool { // Input ingredients are just a counter, they store no data, they are immortal. // Their *fields* are stored in function ingredients elsewhere. false