fn build_lint<'a, 'b>(
    lint: &'a mut DiagnosticBuilder<'b, ()>,
    local: &Local<'_>,
    init_span: Span
) -> &'a mut DiagnosticBuilder<'b, ()>