Skip to content

Commit

Permalink
Use #![warn(single_use_lifetimes)] in futures-async-macro
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 7, 2019
1 parent 242c6d7 commit e5a249c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions futures-async-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#![recursion_limit = "128"]
#![warn(rust_2018_idioms, unreachable_pub)]
// It cannot be included in the published code because this lints have false positives in the minimum required version.
#![cfg_attr(test, warn(single_use_lifetimes))]
#![warn(clippy::all)]

extern crate proc_macro;
Expand Down

0 comments on commit e5a249c

Please sign in to comment.