File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
src/tools/rust-analyzer/crates/hir-def/src Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -373,19 +373,14 @@ pub fn crate_def_map(db: &dyn DefDatabase, crate_id: Crate) -> &DefMap {
373
373
crate_local_def_map ( db, crate_id) . def_map ( db)
374
374
}
375
375
376
- #[ allow( unused_lifetimes) ]
377
- mod __ {
378
- use super :: * ;
379
- #[ salsa_macros:: tracked]
380
- pub ( crate ) struct DefMapPair < ' db > {
381
- #[ tracked]
382
- #[ returns( ref) ]
383
- pub ( crate ) def_map : DefMap ,
384
- #[ returns( ref) ]
385
- pub ( crate ) local : LocalDefMap ,
386
- }
376
+ #[ salsa_macros:: tracked]
377
+ pub ( crate ) struct DefMapPair < ' db > {
378
+ #[ tracked]
379
+ #[ returns( ref) ]
380
+ pub ( crate ) def_map : DefMap ,
381
+ #[ returns( ref) ]
382
+ pub ( crate ) local : LocalDefMap ,
387
383
}
388
- pub ( crate ) use __:: DefMapPair ;
389
384
390
385
#[ salsa_macros:: tracked( returns( ref) ) ]
391
386
pub ( crate ) fn crate_local_def_map ( db : & dyn DefDatabase , crate_id : Crate ) -> DefMapPair < ' _ > {
You can’t perform that action at this time.
0 commit comments