{"ast_node_type":"variable","tokens":[{"end":52,"kind":"keyword","start":0,"text":"let"}]}
    let Some(def) = def.as_generic_def_id(db) else {
) -> Arc<TraitEnvironment> {
        let krate = def.module(db).krate();