fn check_expr_pat_type(&mut self, id: hir::HirId, span: Span) -> bool {
        self.span = span;
        let typeck_results = self.typeck_results();
        let result: ControlFlow<()> = try {
            self.visit(typeck_results.node_type(id))?;
            self.visit(typeck_results.node_substs(id))?;
            if let Some(adjustments) = typeck_results.adjustments().get(id) {
                adjustments.iter().try_for_each(|adjustment| self.visit(adjustment.target))?;
            }
        }
// Take node-id of an expression or pattern and check its type for privacy.
Take node-id of an expression or pattern and check its type for privacy.
Take node - id of an expression or pattern and check its type for privacy .
fn check_expr_pat_type(&mut self, id: hir::HirId, span: Span) -> bool {
        self.span = span;
        let typeck_results = self.typeck_results();
        let result: ControlFlow<()> = try {
            self.visit(typeck_results.node_type(id))?;
            self.visit(typeck_results.node_substs(id))?;
            if let Some(adjustments) = typeck_results.adjustments().get(id) {
                adjustments.iter().try_for_each(|adjustment| self.visit(adjustment.target))?;
            }
        }
fn check_expr_pat_type ( & mut self , id : hir :: HirId , span : Span ) -> bool { self . span = span ; let typeck_results = self . typeck_results ( ) ; let result : ControlFlow < ( ) > = try { self . visit ( typeck_results . node_type ( id ) ) ? ; self . visit ( typeck_results . node_substs ( id ) ) ? ; if let Some ( adjustments ) = typeck_results . adjustments ( ) . get ( id ) { adjustments . iter ( ) . try_for_each ( | adjustment | self . visit ( adjustment . target ) ) ? ; } }
Take node-id of an expression or pattern and check its type for privacy.
Take node - id of an expression or pattern and check its type for privacy .
&mut self
id
hir::HirId
span
Span
&mut self
id
hir::HirId
span
Span