File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ pub trait DefDatabase: InternDatabase + AstDatabase + Upcast<dyn AstDatabase> {
133
133
fn import_map ( & self , krate : CrateId ) -> Arc < ImportMap > ;
134
134
}
135
135
136
- fn crate_def_map_wait ( db : & impl DefDatabase , krate : CrateId ) -> Arc < DefMap > {
136
+ fn crate_def_map_wait ( db : & dyn DefDatabase , krate : CrateId ) -> Arc < DefMap > {
137
137
let _p = profile:: span ( "crate_def_map:wait" ) ;
138
138
db. crate_def_map_query ( krate)
139
139
}
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ pub trait HirDatabase: DefDatabase + Upcast<dyn DefDatabase> {
130
130
) -> chalk_ir:: ProgramClauses < chalk:: Interner > ;
131
131
}
132
132
133
- fn infer_wait ( db : & impl HirDatabase , def : DefWithBodyId ) -> Arc < InferenceResult > {
133
+ fn infer_wait ( db : & dyn HirDatabase , def : DefWithBodyId ) -> Arc < InferenceResult > {
134
134
let _p = profile:: span ( "infer:wait" ) . detail ( || match def {
135
135
DefWithBodyId :: FunctionId ( it) => db. function_data ( it) . name . to_string ( ) ,
136
136
DefWithBodyId :: StaticId ( it) => {
You can’t perform that action at this time.
0 commit comments