Skip to content

Commit 20d3428

Browse files
committed
change rustc_lint_deps dep to rustc only
1 parent be3f5c8 commit 20d3428

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

compiler/rustc_pattern_analysis/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rustc_arena = { path = "../rustc_arena", optional = true }
1212
rustc_errors = { path = "../rustc_errors", optional = true }
1313
rustc_hir = { path = "../rustc_hir", optional = true }
1414
rustc_index = { path = "../rustc_index", default-features = false }
15-
rustc_lint_defs = { path = "../rustc_lint_defs" }
15+
rustc_lint_defs = { path = "../rustc_lint_defs", optional = true }
1616
rustc_macros = { path = "../rustc_macros", optional = true }
1717
rustc_middle = { path = "../rustc_middle", optional = true }
1818
rustc_span = { path = "../rustc_span", optional = true }
@@ -34,6 +34,7 @@ rustc = [
3434
"dep:rustc_arena",
3535
"dep:rustc_errors",
3636
"dep:rustc_hir",
37+
"dep:rustc_lint_defs",
3738
"dep:rustc_macros",
3839
"dep:rustc_middle",
3940
"dep:rustc_span",

0 commit comments

Comments
 (0)