Skip to content

Commit

Permalink
Update components/salsa-macro-rules/src/setup_input_struct.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Micha Reiser <[email protected]>
  • Loading branch information
nikomatsakis and MichaReiser committed Aug 4, 2024
1 parent 118e89c commit 6ff1975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/salsa-macro-rules/src/setup_input_struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ macro_rules! setup_input_struct {
// FIXME(rust-lang/rust#65991): The `db` argument *should* have the type `dyn Database`
$Db: ?Sized + $zalsa::Database,
{
let (ingredient, runtime) = $Configuration::ingredient_mut(db.as_dyn_database_mut());
let (ingredient, revision) = $Configuration::ingredient_mut(db.as_dyn_database_mut());
$zalsa::input::SetterImpl::new(
runtime,
revision,
self,
$field_index,
ingredient,
Expand Down

0 comments on commit 6ff1975

Please sign in to comment.