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: err-06-two_write_borrows.rs
    path of file: ./repos/juice/coaster/tests/ui
    
    the code of the file until where you have to start completion: use coaster::prelude::*;

fn main() {
    let ntv = Native::new();
    let dev = ntv.new_device(ntv.hardwares()).unwrap();

    let x = &mut Share
    
fn main() {
    let ntv = Native::new();
    let dev = ntv.new_device(ntv.hardwares()).unwrap();

    let x = &mut SharedTensor::<f32>::new(&10);
    let m1 = x.write_only(&dev).unwrap();
    let m2 = x.write_only(&dev).unwrap();
    //~^ ERROR error: cannot borrow `*x` as mutable more than once at a time

    // need additional bindings, so rust knows it's used afterwards
    let _foo = m1;
    let _bar = m2;
}