aboutsummaryrefslogtreecommitdiff
path: root/tests/lint.rs
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-04-02 22:12:03 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-02 22:12:03 +0000
commit8b0216024fdda67a39641ba9fda97415633cf3af (patch)
tree33606e3663ed7bfe2c6fdc2fb260ef81d381059e /tests/lint.rs
parent4d27e9b9cb5823fba158a7fa5537a8b7c3e75e55 (diff)
parent7dd4d455b635e6c2fd238d17843c5911fd5f57c0 (diff)
downloadpin-project-8b0216024fdda67a39641ba9fda97415633cf3af.tar.gz
Upgrade rust/crates/pin-project to 1.0.6 am: a2c3c56704 am: b4dee5c785 am: 5af88c13c3 am: 7dd4d455b6
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1662597 Change-Id: I9a39b33ed687f52f942706dc3a70a3539cdf557e
Diffstat (limited to 'tests/lint.rs')
-rw-r--r--tests/lint.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lint.rs b/tests/lint.rs
index 527c533..e7aee5a 100644
--- a/tests/lint.rs
+++ b/tests/lint.rs
@@ -1,4 +1,4 @@
-#![warn(nonstandard_style, rust_2018_idioms, rustdoc, unused)]
+#![warn(nonstandard_style, rust_2018_idioms, unused)]
// Note: This does not guarantee compatibility with forbidding these lints in the future.
// If rustc adds a new lint, we may not be able to keep this.
#![forbid(future_incompatible, rust_2018_compatibility)]
@@ -6,16 +6,17 @@
#![warn(
box_pointers,
deprecated_in_future,
+ disjoint_capture_drop_reorder,
elided_lifetimes_in_paths,
explicit_outlives_requirements,
macro_use_extern_crate,
meta_variable_misuse,
missing_abi,
missing_copy_implementations,
- missing_crate_level_docs,
missing_debug_implementations,
missing_docs,
non_ascii_idents,
+ noop_method_call,
single_use_lifetimes,
trivial_casts,
trivial_numeric_casts,
@@ -29,8 +30,7 @@
variant_size_differences
)]
// absolute_paths_not_starting_with_crate, anonymous_parameters, keyword_idents, pointer_structural_match, semicolon_in_expressions_from_macros: forbidden as a part of future_incompatible
-// missing_doc_code_examples, private_doc_tests, invalid_html_tags: warned as a part of rustdoc
-// unsafe_block_in_unsafe_fn: unstable
+// unsafe_block_in_unsafe_fn: unstable: https://github.com/rust-lang/rust/issues/71668
// unsafe_code: checked in forbid_unsafe module
// unstable_features: deprecated: https://doc.rust-lang.org/beta/rustc/lints/listing/allowed-by-default.html#unstable-features
// unused_crate_dependencies: unrelated