diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-04 01:38:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-04 01:38:41 +0200 |
| commit | e8a88f7d4330c62bc039c21831894c2758a43e60 (patch) | |
| tree | 5eb43bbb1628f79cf0daf7f6a481a1a4b7f65b7d /src/libsyntax/ext | |
| parent | 088b987307b91612ab164026e1dcdd0129fdb62b (diff) | |
| parent | 88c515da0728a3a3738be6ffa96168d060243225 (diff) | |
| download | rust-e8a88f7d4330c62bc039c21831894c2758a43e60.tar.gz rust-e8a88f7d4330c62bc039c21831894c2758a43e60.zip | |
Rollup merge of #62039 - jeremystucki:needless_lifetimes, r=eddyb
Remove needless lifetimes (rustc)
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index 92ce3779a3c..fc8aa4793bc 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -901,7 +901,7 @@ fn may_begin_with(token: &Token, name: Name) -> bool { /// # Returns /// /// The parsed non-terminal. -fn parse_nt<'a>(p: &mut Parser<'a>, sp: Span, name: Symbol) -> Nonterminal { +fn parse_nt(p: &mut Parser<'_>, sp: Span, name: Symbol) -> Nonterminal { if name == sym::tt { return token::NtTT(p.parse_token_tree()); } |
