diff options
author | Haibo Huang <hhb@google.com> | 2021-01-06 22:43:51 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-01-06 22:43:51 +0000 |
commit | 1f8d1834e3d402e53170cd757f0554d2984688ab (patch) | |
tree | b4a59a0bf295d7cc3837dd372b5068cb95023fc6 /src/lib.rs | |
parent | 4dd54eb67e71737befa7207f038aec494aa80687 (diff) | |
parent | edabc1003f5edda8ceb99e8e5a588da2a484b187 (diff) | |
download | pin-project-1f8d1834e3d402e53170cd757f0554d2984688ab.tar.gz |
Upgrade rust/crates/pin-project to 1.0.3 am: 803535edf4 am: edabc1003f
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1541052
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2e130330b18707de5b0d9e312fe4f7a323f560f6
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -65,23 +65,16 @@ //! [struct-default-expanded]: https://github.com/taiki-e/pin-project/blob/master/examples/struct-default-expanded.rs #![no_std] -#![doc(html_root_url = "https://docs.rs/pin-project/1.0.2")] #![doc(test( no_crate_inject, - attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code)) + attr( + deny(warnings, rust_2018_idioms, single_use_lifetimes), + allow(dead_code, unused_variables) + ) ))] #![warn(future_incompatible, rust_2018_idioms, single_use_lifetimes, unreachable_pub)] #![warn(missing_docs)] #![warn(clippy::all, clippy::default_trait_access)] -// mem::take, #[non_exhaustive], and Option::{as_deref, as_deref_mut} require Rust 1.40, -// matches! requires Rust 1.42, str::{strip_prefix, strip_suffix} requires Rust 1.45 -#![allow( - clippy::mem_replace_with_default, - clippy::manual_non_exhaustive, - clippy::option_as_ref_deref, - clippy::match_like_matches_macro, - clippy::manual_strip -)] #![allow(clippy::needless_doctest_main)] // ANDROID: Use std to allow building as a dylib. |