mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
12d23ba64d
Summary: Pull Request resolved: https://github.com/facebookexperimental/eden/pull/46 See https://github.com/facebookexperimental/eden/runs/1034006668: error: unused import: `env::set_var` --> src/lfs.rs:1539:15 | 1539 | use std::{env::set_var, str::FromStr}; | ^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:125:9 | 125 | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` error: unnecessary braces around method argument --> src/lfs.rs:2439:36 | 2439 | remote.batch_upload(&objs, { move |sha256| local_lfs.blobs.get(&sha256) })?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces | note: the lint level is defined here --> src/lib.rs:125:9 | 125 | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(unused_braces)]` implied by `#[deny(warnings)]` error: aborting due to 2 previous errors error: could not compile `revisionstore`. I dropped `#![deny(warnings)]` as I don't think warnings like the above ones should break the build. (denying specific warnings that we care about explicitly might be a better approach) Reviewed By: singhsrb Differential Revision: D23362178 fbshipit-source-id: 02258f57727edfac9818cd29dda5e451c7ca80a7 |
||
---|---|---|
.. | ||
src | ||
types | ||
Cargo.toml |