aboutsummaryrefslogtreecommitdiff
path: root/tests/lint.rs
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-04-02 20:49:16 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-02 20:49:16 +0000
commit5af88c13c3c5afa7f70665ba03d6999029edd86c (patch)
tree33606e3663ed7bfe2c6fdc2fb260ef81d381059e /tests/lint.rs
parent17c2dc0947a705f204ff324f0af1d661c3f7b5a0 (diff)
parentb4dee5c78599b3e8c41a67bf1816606f516504b4 (diff)
downloadpin-project-5af88c13c3c5afa7f70665ba03d6999029edd86c.tar.gz
Upgrade rust/crates/pin-project to 1.0.6 am: a2c3c56704 am: b4dee5c785
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1662597 Change-Id: Id3ba3f6b5559d10da857692affdddb83f018bd58
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