diff options
| author | Caio <c410.f3r@gmail.com> | 2019-07-26 19:52:37 -0300 |
|---|---|---|
| committer | Caio <c410.f3r@gmail.com> | 2019-07-27 07:16:21 -0300 |
| commit | 53fc7fbc9606ba8b29e674ab08c3ccf1ebfd128d (patch) | |
| tree | a4ed14e5c8281e129d4fe42d69a95ff6aa0f74fa /src/libsyntax/parse/diagnostics.rs | |
| parent | a7f28678bbf4e16893bb6a718e427504167a9494 (diff) | |
| download | rust-53fc7fbc9606ba8b29e674ab08c3ccf1ebfd128d.tar.gz rust-53fc7fbc9606ba8b29e674ab08c3ccf1ebfd128d.zip | |
Lint attributes on function arguments
Diffstat (limited to 'src/libsyntax/parse/diagnostics.rs')
| -rw-r--r-- | src/libsyntax/parse/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/diagnostics.rs b/src/libsyntax/parse/diagnostics.rs index f4fc87506f3..39cb5042fbc 100644 --- a/src/libsyntax/parse/diagnostics.rs +++ b/src/libsyntax/parse/diagnostics.rs @@ -30,7 +30,7 @@ crate fn dummy_arg(ident: Ident) -> Arg { span: ident.span, id: ast::DUMMY_NODE_ID }; - Arg { attrs: ThinVec::default(), id: ast::DUMMY_NODE_ID, pat, ty: P(ty) } + Arg { attrs: ThinVec::default(), id: ast::DUMMY_NODE_ID, pat, span: ident.span, ty: P(ty) } } pub enum Error { |
