Skip to content

Commit ce0ba38

Browse files
committed
syntax_ext: deny(unused_lifetimes).
1 parent 4d426bb commit ce0ba38

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/libsyntax_ext/cfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use syntax::tokenstream;
1212
use syntax::parse::token;
1313
use syntax_pos::Span;
1414

15-
pub fn expand_cfg<'cx>(cx: &mut ExtCtxt<'_>,
15+
pub fn expand_cfg(cx: &mut ExtCtxt<'_>,
1616
sp: Span,
1717
tts: &[tokenstream::TokenTree])
1818
-> Box<dyn base::MacResult + 'static> {

src/libsyntax_ext/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#![deny(rust_2018_idioms)]
66
#![deny(internal)]
7+
#![deny(unused_lifetimes)]
78

89
#![feature(in_band_lifetimes)]
910
#![feature(proc_macro_diagnostic)]

0 commit comments

Comments
 (0)