diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-24 18:39:31 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-24 18:39:31 +0000 |
commit | b65ba8f1d62c2961e520885117056e405056959d (patch) | |
tree | 8b4b48b4e24c2b7fcf81ddc196586efd684a3c66 /crates/ra_analysis/tests/tests.rs | |
parent | 67e768466ff2e2611eead0f30b2e9c4083c80c20 (diff) | |
parent | 0fb8894fbe3c2ea9f4be34065c3bd1b2a64f6356 (diff) |
Merge #326
326: resolved #324: remove unnecessary braces in use statement. r=matklad a=gfreezy
Add inspection for unnecessary braces in use statement
Co-authored-by: gfreezy <[email protected]>
Diffstat (limited to 'crates/ra_analysis/tests/tests.rs')
-rw-r--r-- | crates/ra_analysis/tests/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_analysis/tests/tests.rs b/crates/ra_analysis/tests/tests.rs index 938ca797a..210fa2a13 100644 --- a/crates/ra_analysis/tests/tests.rs +++ b/crates/ra_analysis/tests/tests.rs | |||
@@ -82,7 +82,8 @@ fn test_unresolved_module_diagnostic() { | |||
82 | label: "create module", | 82 | label: "create module", |
83 | source_file_edits: [], | 83 | source_file_edits: [], |
84 | file_system_edits: [CreateFile { source_root: SourceRootId(0), path: "foo.rs" }], | 84 | file_system_edits: [CreateFile { source_root: SourceRootId(0), path: "foo.rs" }], |
85 | cursor_position: None }) }]"#, | 85 | cursor_position: None }), |
86 | severity: Error }]"#, | ||
86 | &diagnostics, | 87 | &diagnostics, |
87 | ); | 88 | ); |
88 | } | 89 | } |