Merge "Require safety comments for unsafe blocks." into main

This commit is contained in:
Treehugger Robot
2023-08-18 16:25:43 +00:00
committed by Gerrit Code Review

View File

@@ -46,6 +46,7 @@ var (
"-A deprecated",
"-D missing-docs",
"-D warnings",
"-D unsafe_op_in_unsafe_fn",
}
// Default Clippy lints. These are applied on top of defaultRustcLints.
// It should be assumed that any warning lint will be promoted to a
@@ -55,6 +56,7 @@ var (
"-A clippy::unnecessary-wraps",
"-A clippy::unusual-byte-groupings",
"-A clippy::upper-case-acronyms",
"-D clippy::undocumented_unsafe_blocks",
}
// Rust lints for vendor code.