diff options
| author | Benjamin Schulz <benjamin.schulz@sap.com> | 2025-06-04 19:03:18 +0200 |
|---|---|---|
| committer | Ben Schulz <benshu@benshu.de> | 2025-07-01 08:56:20 +0200 |
| commit | 7d6764a45bd05913e7f34a8fbba12bf384b0269a (patch) | |
| tree | a8cded24fae860122e99287b103464e88bf440ef /compiler/rustc_expand/src/build.rs | |
| parent | e61dd437f33b5a640e67dc3628397689c664c17f (diff) | |
| download | rust-7d6764a45bd05913e7f34a8fbba12bf384b0269a.tar.gz rust-7d6764a45bd05913e7f34a8fbba12bf384b0269a.zip | |
Detect more cases of unused_parens around types
Diffstat (limited to 'compiler/rustc_expand/src/build.rs')
| -rw-r--r-- | compiler/rustc_expand/src/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_expand/src/build.rs b/compiler/rustc_expand/src/build.rs index 14b8cc90d97..a333f2c7cb7 100644 --- a/compiler/rustc_expand/src/build.rs +++ b/compiler/rustc_expand/src/build.rs @@ -195,6 +195,7 @@ impl<'a> ExtCtxt<'a> { }, trait_ref: self.trait_ref(path), span, + parens: ast::Parens::No, } } |
