fn warn_if_unreachable(&self, id: ast::NodeId, span: Span, kind: &str) {
        if self.diverges.get() == Diverges::Always {
            self.diverges.set(Diverges::WarnedAlways);

            self.tables.borrow_mut().lints.add_lint(
                lint::builtin::UNREACHABLE_CODE,
                id, span,
                format!("unreachable {}", kind));
        }
    }
/// Produce warning on the given node, if the current point in the
/// function is unreachable, and there hasn't been another warning.
Produce warning on the given node, if the current point in the
function is unreachable, and there hasn't been another warning.
Produce warning on the given node if the current point in the function is unreachable and there hasn ' t been another warning .
fn warn_if_unreachable(&self, id: ast::NodeId, span: Span, kind: &str) {
        if self.diverges.get() == Diverges::Always {
            self.diverges.set(Diverges::WarnedAlways);
            self.tables.borrow_mut().lints.add_lint(
                lint::builtin::UNREACHABLE_CODE,
                id, span,
                format!("unreachable {}", kind));
        }
    }
fn warn_if_unreachable ( & self , id : ast :: NodeId , span : Span , kind : & str ) { if self . diverges . get ( ) == Diverges :: Always { self . diverges . set ( Diverges :: WarnedAlways ) ; self . tables . borrow_mut ( ) . lints . add_lint ( lint :: builtin :: UNREACHABLE_CODE , id , span , format ! ( " " kind ) ) ; } }
Produce warning on the given node, if the current point in the
function is unreachable, and there hasn't been another warning.
Produce warning on the given node if the current point in the function is unreachable and there hasn ' t been another warning .
&self
id
ast::NodeId
span
Span
kind
&str
&self
id
ast::NodeId
span
Span
kind
&str