diff options
author | Aleksey Kladov <[email protected]> | 2018-07-30 14:32:27 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-30 14:32:27 +0100 |
commit | 69c385e8105c7fad07a5728979e86a2a6a5e88ba (patch) | |
tree | 10e58c3bc358d184139b897bada3800f37f6096d /tools/src/main.rs | |
parent | 67424000a9decccda44f4303d00d91a4fca985ba (diff) |
Fix compilation for real
Diffstat (limited to 'tools/src/main.rs')
-rw-r--r-- | tools/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/main.rs b/tools/src/main.rs index 783e3395b..6786b81ca 100644 --- a/tools/src/main.rs +++ b/tools/src/main.rs | |||
@@ -108,7 +108,7 @@ fn tests_from_dir(dir: &Path) -> Result<HashSet<Test>> { | |||
108 | } | 108 | } |
109 | let text = fs::read_to_string(entry.path())?; | 109 | let text = fs::read_to_string(entry.path())?; |
110 | 110 | ||
111 | for test in collect_tests(&text) { | 111 | for (_, test) in collect_tests(&text) { |
112 | if let Some(old_test) = res.replace(test) { | 112 | if let Some(old_test) = res.replace(test) { |
113 | bail!("Duplicate test: {}", old_test.name) | 113 | bail!("Duplicate test: {}", old_test.name) |
114 | } | 114 | } |