You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: load.rs
    path of file: ./repos/enigma/enigma/src/bif
    
    the code of the file until where you have to start completion: use crate::atom::{self, Atom};
use crate::bif;
use crate::loader;
use crate::module::{self, Module};
use crate::process::RcProcess;
use crate::value::{self, CastFrom, CastInto, Cons, Term, Variant};
use crate::vm;

pub fn pre_loaded_0(_vm: &vm::Machine, process: &RcProcess, _args: &[Term]) -> bif::Result {
    let heap = &process.context_mut().heap;

    let iter = vm::PRE_LOADED_NAMES
        .iter()
        .map(|name| Term::atom(Atom
    
pub fn get_module_info_1(vm: &vm::Machine, process: &RcProcess, args: &[Term]) -> bif::Result {
    let name = match args[0].into_variant() {
        Variant::Atom(i) => i,
        _ => return Err(badarg!()),
    };

    let registry = vm.modules.lock();
    let module = registry.lookup(name).unwrap();
    let heap = &process.context_mut().heap;
    let keys = vec![
        //atom!(MD5),
        atom!(NATIVE),
        //atom!(COMPILE),
        atom!(ATTRIBUTES),
        atom!(EXPORTS),
        atom!(MODULE),
    ];

    Ok(keys.into_iter().fold(Term::nil(), |acc, key| {
        cons!(
            heap,
            tup2!(heap, key, get_module_info(heap, module, key).unwrap()),
            acc
        )
    }))
}