diff options
| author | bors <bors@rust-lang.org> | 2018-01-20 15:06:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-20 15:06:41 +0000 |
| commit | 15a1e2844dfea7850be5c6c901b67ceff370b0eb (patch) | |
| tree | 2929f026038000e5f0ecfdbe6e1e0fb378157a6b /src/librustc_resolve/lib.rs | |
| parent | bdda8d61151a91fcc95b059918dd834c8e7ac09e (diff) | |
| parent | 14982db2d68268458a3de03e395b2e9afe518b50 (diff) | |
| download | rust-15a1e2844dfea7850be5c6c901b67ceff370b0eb.tar.gz rust-15a1e2844dfea7850be5c6c901b67ceff370b0eb.zip | |
Auto merge of #46980 - zackmdavis:and_the_case_of_the_needlessly_parenthesized_arguments, r=petrochenkov
in which the unused-parens lint comes to cover function and method args Resolves #46137.
Diffstat (limited to 'src/librustc_resolve/lib.rs')
| -rw-r--r-- | src/librustc_resolve/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs index 5b9b3767cb6..231a32c4382 100644 --- a/src/librustc_resolve/lib.rs +++ b/src/librustc_resolve/lib.rs @@ -963,7 +963,7 @@ impl<'a> ModuleData<'a> { unresolved_invocations: RefCell::new(FxHashSet()), no_implicit_prelude: false, glob_importers: RefCell::new(Vec::new()), - globs: RefCell::new((Vec::new())), + globs: RefCell::new(Vec::new()), traits: RefCell::new(None), populated: Cell::new(normal_ancestor_id.is_local()), span, |
