fn add_fun_to_scope(scope: &mut Scope, crate_name: &str, ident: &Ident)