@@ -73,7 +73,7 @@ use std::{
7373
7474use base_db:: {
7575 impl_intern_key,
76- salsa:: { self , impl_intern_value_trivial } ,
76+ salsa:: { self , InternValueTrivial } ,
7777 CrateId ,
7878} ;
7979use hir_expand:: {
@@ -187,7 +187,7 @@ pub trait ItemTreeLoc {
187187macro_rules! impl_intern {
188188 ( $id: ident, $loc: ident, $intern: ident, $lookup: ident) => {
189189 impl_intern_key!( $id) ;
190- impl_intern_value_trivial! ( $loc) ;
190+ impl InternValueTrivial for $loc { }
191191 impl_intern_lookup!( DefDatabase , $id, $loc, $intern, $lookup) ;
192192 } ;
193193}
@@ -535,7 +535,7 @@ pub struct TypeOrConstParamId {
535535 pub parent : GenericDefId ,
536536 pub local_id : LocalTypeOrConstParamId ,
537537}
538- impl_intern_value_trivial ! ( TypeOrConstParamId ) ;
538+ impl InternValueTrivial for TypeOrConstParamId { }
539539
540540/// A TypeOrConstParamId with an invariant that it actually belongs to a type
541541#[ derive( Debug , Clone , Copy , PartialEq , Eq , Hash ) ]
@@ -597,7 +597,7 @@ pub struct LifetimeParamId {
597597 pub local_id : LocalLifetimeParamId ,
598598}
599599pub type LocalLifetimeParamId = Idx < generics:: LifetimeParamData > ;
600- impl_intern_value_trivial ! ( LifetimeParamId ) ;
600+ impl InternValueTrivial for LifetimeParamId { }
601601
602602#[ derive( Debug , Clone , Copy , PartialEq , Eq , Hash ) ]
603603pub enum ItemContainerId {
0 commit comments