Test fixes and rebase conflicts

This commit is contained in:
Alex Crichton 2014-10-19 13:00:32 -07:00
parent 9d5d97b55d
commit 96445a533e
4 changed files with 9 additions and 9 deletions

View file

@ -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
}

View file

@ -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;