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
Apply #1680
  • Loading branch information
taiki-e committed Jul 2, 2019
1 parent 115930d commit d2927c5
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 d2927c5

Please sign in to comment.