Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revisionstore: fix GitHub build (#46)
Summary: Pull Request resolved: #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
- Loading branch information