diff options
author | David LeGare <legare@google.com> | 2022-03-02 16:21:12 +0000 |
---|---|---|
committer | David LeGare <legare@google.com> | 2022-03-02 16:21:12 +0000 |
commit | 8915193b0de5f14b58aea0cd7bd72a6083529dc2 (patch) | |
tree | 80c46c7f97eb0158db00b2c4710dd54073c36733 /tests/lint.rs | |
parent | dd72f94a2923223417a1d62cfd1873041247653a (diff) | |
download | pin-project-8915193b0de5f14b58aea0cd7bd72a6083529dc2.tar.gz |
Update pin-project to 1.0.10
Test: cd external/rust/crates && atest --host -c
Change-Id: I60f27e769ab8c287dbf4948e61bae172e6949cfc
Diffstat (limited to 'tests/lint.rs')
-rw-r--r-- | tests/lint.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/lint.rs b/tests/lint.rs index 5cdd2c6..6a75461 100644 --- a/tests/lint.rs +++ b/tests/lint.rs @@ -8,7 +8,8 @@ #![forbid(future_incompatible, rust_2018_compatibility, rust_2021_compatibility)] // lints forbidden as a part of future_incompatible, rust_2018_compatibility, and rust_2021_compatibility are not included in the list below. // elided_lifetimes_in_paths, explicit_outlives_requirements, unused_extern_crates: as a part of rust_2018_idioms -// unsafe_block_in_unsafe_fn: unsafe_block_in_unsafe_fn: requires Rust 1.52. and, we don't generate unsafe fn. +// unsafe_block_in_unsafe_fn: requires Rust 1.52. and, we don't generate unsafe fn. +// non_exhaustive_omitted_patterns: unstable // unstable_features: no way to generate #![feature(..)] by macros, expect for unstable inner attribute. and this lint is deprecated: https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unstable-features // unused_crate_dependencies: unrelated // unsafe_code: checked in forbid_unsafe module @@ -772,7 +773,7 @@ pub mod single_use_lifetimes { for<'pin, 'pin_, 'pin__> &'pin &'pin_ &'pin__ T: Unpin, { #[pin] - f: &'pin___ mut T, + _f: &'pin___ mut T, } pub mod inside_macro { @@ -795,7 +796,7 @@ pub mod single_use_lifetimes { for<'pin, 'pin_, 'pin__> &'pin &'pin_ &'pin__ T: Unpin, { #[pin] - f: &'pin___ mut T, + _f: &'pin___ mut T, } }; } |