coaster 0.2.0

high-performance computation on any hardware
Documentation
1
2
3
4
5
6
7
8
9
10
error[E0499]: cannot borrow `*x` as mutable more than once at a time
  --> $DIR/err-06-two_write_borrows.rs:9:14
   |
8  |     let m1 = x.write_only(&dev).unwrap();
   |              - first mutable borrow occurs here
9  |     let m2 = x.write_only(&dev).unwrap();
   |              ^ second mutable borrow occurs here
...
13 |     let _foo = m1;
   |                -- first borrow later used here