Test fixes and rebase conflicts
This commit is contained in:
parent
9d5d97b55d
commit
96445a533e
4 changed files with 9 additions and 9 deletions
|
|
@ -11,5 +11,5 @@
|
|||
|
||||
fn main() {
|
||||
let v: Vec<int> = vec!(1, 2, 3);
|
||||
v[1] = 4; //~ ERROR cannot assign
|
||||
v[1] = 4; //~ ERROR cannot borrow immutable local variable `v` as mutable
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
use std::task;
|
||||
use std::sync::atomics::{AtomicUint, INIT_ATOMIC_UINT, Relaxed};
|
||||
use std::sync::atomic::{AtomicUint, INIT_ATOMIC_UINT, Relaxed};
|
||||
use std::rand::{task_rng, Rng, Rand};
|
||||
|
||||
const REPEATS: uint = 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue