Skip to content

Commit

Permalink
syntax_ext: deny(unused_lifetimes).
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Jun 11, 2019
1 parent 4d426bb commit ce0ba38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax_ext/cfg.rs
Expand Up @@ -12,7 +12,7 @@ use syntax::tokenstream;
use syntax::parse::token;
use syntax_pos::Span;

pub fn expand_cfg<'cx>(cx: &mut ExtCtxt<'_>,
pub fn expand_cfg(cx: &mut ExtCtxt<'_>,
sp: Span,
tts: &[tokenstream::TokenTree])
-> Box<dyn base::MacResult + 'static> {
Expand Down
1 change: 1 addition & 0 deletions src/libsyntax_ext/lib.rs
Expand Up @@ -4,6 +4,7 @@

#![deny(rust_2018_idioms)]
#![deny(internal)]
#![deny(unused_lifetimes)]

#![feature(in_band_lifetimes)]
#![feature(proc_macro_diagnostic)]
Expand Down

0 comments on commit ce0ba38

Please sign in to comment.