syntax_ext: deny(unused_lifetimes).
This commit is contained in:
parent
4d426bb1c0
commit
ce0ba38921
2 changed files with 2 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![deny(internal)]
|
||||
#![deny(unused_lifetimes)]
|
||||
|
||||
#![feature(in_band_lifetimes)]
|
||||
#![feature(proc_macro_diagnostic)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue