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/artichoke/artichoke-backend/src
    
    the code of the file until where you have to start completion: use std::borrow::Cow;
use std::ffi::OsStr;
use std::path::Path;

use artichoke_core::eval::Eval;
use artichoke_core::file::File;
use artichoke_core::load::{LoadSources, Loaded, Required};
use scolapasta_path::os_str_to_bytes;
use spinoso_exception
    
    fn load_does_not_discover_paths_from_loaded_features() {
        let mut interp = interpreter();
        interp.def_rb_source_file("counter.rb", NON_IDEMPOTENT_LOAD).unwrap();

        let result = interp.require_source("./counter").unwrap();
        assert_eq!(result, Required::Success);
        let count = interp
            .eval(b"LoadSources::Counter.instance.c")
            .unwrap()
            .try_convert_into::<usize>(&interp)
            .unwrap();
        assert_eq!(count, 11);

        let exc = interp.load_source("./counter").unwrap_err();
        assert_eq!(exc.message().as_bstr(), b"cannot load such file -- ./counter".as_bstr());
        assert_eq!(exc.name(), "LoadError");
    }