Closed
Description
self.impl_or_trait_item(
- self.tcx.impl_trait_ref(impl_did).unwrap().def_id,
-
- item_name
- )
- }).unwrap();
- let note_span = self.tcx.map.span_if_local(item.def_id()).or_else(|| {
- self.tcx.map.span_if_local(impl_did)
- });
+ self.impl_or_trait_item(self.tcx
+ .impl_trait_ref(impl_did)
+ .unwrap()
+ .def_id,
+
+ item_name)
+ })
+ .unwrap();
+ let note_span = self.tcx
+ .map
+ .span_if_local(item.def_id())
+ .or_else(|| self.tcx.map.span_if_local(impl_did));
see the item_name
param.