diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 21:19:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-28 21:19:50 +0200 |
| commit | a4cd2ecab2240007e877759421fe0929ad74301b (patch) | |
| tree | d01bc1529e76977b27d99016fd0d784184854eba /src/libsyntax/ext | |
| parent | 023525dbda35748a10713471b948974b68a1c2cc (diff) | |
| parent | 53fc7fbc9606ba8b29e674ab08c3ccf1ebfd128d (diff) | |
| download | rust-a4cd2ecab2240007e877759421fe0929ad74301b.tar.gz rust-a4cd2ecab2240007e877759421fe0929ad74301b.zip | |
Rollup merge of #61856 - c410-f3r:attrs-fn, r=matthewjasper
Lint attributes on function arguments Fixes #61238. cc #60406
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index 528b27d6153..b30fefe5b96 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -966,6 +966,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> { attrs: ThinVec::default(), id: ast::DUMMY_NODE_ID, pat: arg_pat, + span, ty, } } |
