libsyntax: Remove the old-style borrowed closure type syntax from the
language.
This commit is contained in:
parent
9e610573ba
commit
6801bc8f55
15 changed files with 32 additions and 23 deletions
|
@ -301,8 +301,8 @@ pub fn is_test(config: &config, testfile: &Path) -> bool {
|
|||
return valid;
|
||||
}
|
||||
|
||||
pub fn make_test(config: &config, testfile: &Path,
|
||||
f: &fn()->test::TestFn) -> test::TestDescAndFn {
|
||||
pub fn make_test(config: &config, testfile: &Path, f: || -> test::TestFn)
|
||||
-> test::TestDescAndFn {
|
||||
test::TestDescAndFn {
|
||||
desc: test::TestDesc {
|
||||
name: make_test_name(config, testfile),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue