mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 09:48:05 +03:00
f7011a3993
Summary: This diff sets two Rust lints to warn in fbcode: ``` [rust] warn_lints = bare_trait_objects, ellipsis_inclusive_range_patterns ``` and fixes occurrences of those warnings within common/rust, hg, and mononoke. Both of these lints are set to warn by default starting with rustc 1.37. Enabling them early avoids writing even more new code that needs to be fixed when we pull in 1.37 in six weeks. Upstream tracking issue: https://github.com/rust-lang/rust/issues/54910 Reviewed By: Imxset21 Differential Revision: D16200291 fbshipit-source-id: aca11a7a944e9fa95f94e226b52f6f053b97ec74 |
||
---|---|---|
.. | ||
benches | ||
src | ||
Cargo.toml | ||
ConfigParser.cpp | ||
ConfigParser.h |