File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ new_ret_no_self = "allow"
167167
168168# # Following lints should be tackled at some point
169169borrowed_box = " allow"
170- borrow_deref_ref = " allow"
171170derived_hash_with_manual_eq = " allow"
172171field_reassign_with_default = " allow"
173172forget_non_drop = " allow"
Original file line number Diff line number Diff line change @@ -1924,7 +1924,7 @@ impl ModCollector<'_, '_> {
19241924 item_tree : self . item_tree ,
19251925 mod_dir,
19261926 }
1927- . collect_in_top_module ( & * items) ;
1927+ . collect_in_top_module ( items) ;
19281928 if is_macro_use {
19291929 self . import_all_legacy_macros ( module_id) ;
19301930 }
Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ impl Default for TestDB {
4141
4242impl Upcast < dyn ExpandDatabase > for TestDB {
4343 fn upcast ( & self ) -> & ( dyn ExpandDatabase + ' static ) {
44- & * self
44+ self
4545 }
4646}
4747
4848impl Upcast < dyn DefDatabase > for TestDB {
4949 fn upcast ( & self ) -> & ( dyn DefDatabase + ' static ) {
50- & * self
50+ self
5151 }
5252}
5353
You can’t perform that action at this time.
0 commit comments