Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/librustc/middle/borrowck/check_loans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,4 +816,3 @@ fn check_loans_in_block<'a>(blk: &ast::blk,
visit::visit_block(blk, this, vt);
this.check_for_conflicting_loans(blk.node.id);
}

1 change: 0 additions & 1 deletion src/librustc/middle/borrowck/gather_loans/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,4 +634,3 @@ fn add_stmt_to_map(stmt: @ast::stmt,
}
visit::visit_stmt(stmt, this, vt);
}

1 change: 0 additions & 1 deletion src/librustc/middle/borrowck/gather_loans/restrictions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,3 @@ impl RestrictionsContext {
}
}
}

1 change: 0 additions & 1 deletion src/librustc/middle/dataflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1062,4 +1062,3 @@ fn reslice<'a>(v: &'a mut [uint]) -> &'a [uint] {
cast::transmute(v)
}
}

1 change: 0 additions & 1 deletion src/librustc/middle/trans/write_guard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,3 @@ fn perform_write_guard(datum: &Datum,
line],
expr::Ignore)
}

1 change: 0 additions & 1 deletion src/librustpkg/rustpkg.rc
Original file line number Diff line number Diff line change
Expand Up @@ -676,4 +676,3 @@ impl PkgSrc {
self.build_crates(maybe_sysroot, dst_dir, &dir, self.benchs, cfgs, Bench);
}
}

1 change: 0 additions & 1 deletion src/libsyntax/fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -858,4 +858,3 @@ impl AstFoldExtensions for @ast_fold {
pub fn make_fold(afp: ast_fold_fns) -> @ast_fold {
afp as @ast_fold
}

1 change: 0 additions & 1 deletion src/test/auxiliary/mod_trait_with_static_methods_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ pub mod sub_foo {
pub fn foo() -> int { 42 }
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ fn foo(cond: &fn() -> bool, box: &fn() -> @int) {
loop {
let x = box();

// Here we complain because the resulting region
// of this borrow is the fn body as a whole.
// Here we complain because the resulting region
// of this borrow is the fn body as a whole.
y = borrow(x); //~ ERROR cannot root

assert!(*x == *y);
Expand Down
4 changes: 2 additions & 2 deletions src/test/run-pass/intrinsic-atomics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mod rusti {

pub fn atomic_load(src: &int) -> int;
pub fn atomic_load_acq(src: &int) -> int;

pub fn atomic_store(dst: &mut int, val: int);
pub fn atomic_store_rel(dst: &mut int, val: int);

Expand All @@ -42,7 +42,7 @@ pub fn main() {
assert!(rusti::atomic_load(x) == 1);
*x = 5;
assert!(rusti::atomic_load_acq(x) == 5);

rusti::atomic_store(x,3);
assert!(*x == 3);
rusti::atomic_store_rel(x,1);
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass/issue-5353.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ fn gl_err_str(err: u32) -> ~str
}

fn main() {}


1 change: 0 additions & 1 deletion src/test/run-pass/match-range-static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ fn main() {
_ => (),
}
}