diff options
author | Haibo Huang <hhb@google.com> | 2021-01-06 23:00:22 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-01-06 23:00:22 +0000 |
commit | f14d6a686a8e9eb9359369569e06983a10e5d694 (patch) | |
tree | b4a59a0bf295d7cc3837dd372b5068cb95023fc6 /src/lib.rs | |
parent | 932883e65ccd882ab2f97188ef66a0aa7cf339a7 (diff) | |
parent | 1f8d1834e3d402e53170cd757f0554d2984688ab (diff) | |
download | pin-project-f14d6a686a8e9eb9359369569e06983a10e5d694.tar.gz |
Upgrade rust/crates/pin-project to 1.0.3 am: 803535edf4 am: edabc1003f am: 1f8d1834e3
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1541052
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib29efe0f160a29b3b80e05e765a40ad617cb9208
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. |