test: Remove non-procedure uses of do
from compiletest, libstd tests,
compile-fail tests, run-fail tests, and run-pass tests.
This commit is contained in:
parent
8ceb374ab7
commit
f571e46ddb
128 changed files with 579 additions and 641 deletions
|
@ -35,9 +35,9 @@ fn main() {
|
|||
let mut a = ~[];
|
||||
a.push(3);
|
||||
let mut a = ~[];
|
||||
do callback {
|
||||
callback(|| {
|
||||
a.push(3);
|
||||
}
|
||||
});
|
||||
let (mut a, b) = (1, 2);
|
||||
a = 34;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue