Skip to content

Commit f7fc51c

Browse files
authored
Fixed warnings in various targets (#3345)
1 parent 10c245e commit f7fc51c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

cargo/cargo_toml_variable_extractor/testdata/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ genrule(
8282
exclude = ["workspace/target/**"],
8383
),
8484
outs = ["workspace_subcrate_cargo_output"],
85-
cmd = "RUSTC=$(location //tools/upstream_wrapper:rustc) $(location //tools/upstream_wrapper:cargo) run --manifest-path=cargo/cargo_toml_variable_extractor/testdata/workspace/subcrate/Cargo.toml > $@",
85+
cmd = "RUSTC=$(location //tools/upstream_wrapper:rustc) $(location //tools/upstream_wrapper:cargo) run --quiet --manifest-path=cargo/cargo_toml_variable_extractor/testdata/workspace/subcrate/Cargo.toml > $@",
8686
tools = [
8787
"//rust/toolchain:current_rust_stdlib_files",
8888
"//tools/upstream_wrapper:cargo",

cargo/cargo_toml_variable_extractor/testdata/workspace/subcrate/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ authors = { workspace = true }
44
description = { workspace = true }
55
homepage = { workspace = true }
66
license = { workspace = true }
7-
license-file = { workspace = true }
87
readme = { workspace = true }
98
repository = { workspace = true }
109
rust-version = { workspace = true }

crate_universe/src/context/crate_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct CrateDependency {
2828
pub alias: Option<String>,
2929

3030
/// Local path of this dependency if provided. This captures local paths from both the
31-
/// [dependencies] table and the [patches] table so they can be used in rendering.
31+
/// `[dependencies]` table and the `[patches]` table so they can be used in rendering.
3232
#[serde(default, skip_serializing_if = "Option::is_none")]
3333
pub(crate) local_path: Option<Utf8PathBuf>,
3434
}

0 commit comments

Comments
 (0)