forked from rust-lang/rust
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of
do
keyword, in line with rust-lang#10815.
I haven't removed the keyword yet; this is just a matter of stopping using it. Changing the `do` keyword to complaining of obsolete syntax is the next step. Also I have *not* removed the `do` keyword tests; they still use `do`. These are: - src/test/compile-fail/do-lambda-requires-braces.rs - src/test/compile-fail/do1.rs - src/test/compile-fail/do2.rs - src/test/compile-fail/issue-3044.rs - src/test/run-pass/block-arg-can-be-followed-by-binop.rs - src/test/run-pass/block-arg-can-be-followed-by-block-arg.rs - src/test/run-pass/block-arg-can-be-followed-by-call.rs - src/test/run-pass/block-arg-in-parentheses.rs - src/test/run-pass/block-arg-used-as-any.rs - src/test/run-pass/block-arg.rs - src/test/run-pass/do-empty-args.rs - src/test/run-pass/do-no-args.rs - src/test/run-pass/do1.rs - src/test/run-pass/do2.rs - src/test/run-pass/do3.rs
- Loading branch information
1 parent
09bfb3b
commit dc6cf37
Showing
130 changed files
with
995 additions
and
997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.