{"ast_node_type":"variable","tokens":[{"end":56,"kind":"keyword","start":0,"text":"if"}]}
        if let hir::TraitItemKind::Const(..) = ti.kind {
    fn check_trait_item(&mut self, cx: &LateContext<'_>, ti: &hir::TraitItem<'_>) {
            NonUpperCaseGlobals::check_upper_case(cx, "associated constant", None, &ti.ident);