Searched refs:is_inside_const_context (Results 1 – 3 of 3) sorted by relevance
316 if self.tcx.hir().is_inside_const_context(expr.hir_id) { in suggest_boxing_when_appropriate()388 if self.tcx.hir().is_inside_const_context(expr.hir_id) { in suggest_calling_boxed_future_when_appropriate()
1038 let in_const_context = self.tcx.hir().is_inside_const_context(expr.hir_id); in check_for_cast()
712 pub fn is_inside_const_context(&self, hir_id: HirId) -> bool { in is_inside_const_context() method