Searched refs:cannot_borrow_across_destructor (Results 1 – 2 of 2) sorted by relevance
390 crate fn cannot_borrow_across_destructor(&self, borrow_span: Span) -> DiagnosticBuilder<'cx> { in cannot_borrow_across_destructor() method
1170 let mut err = self.cannot_borrow_across_destructor(borrow_span); in report_borrow_conflicts_with_destructor()