diff --git a/rust/repositories.bzl b/rust/repositories.bzl index 99e5249419..c339fa206f 100644 --- a/rust/repositories.bzl +++ b/rust/repositories.bzl @@ -200,7 +200,7 @@ def rust_register_toolchains( ) toolchain_names.append(rust_analyzer_repo_name) - toolchain_labels[rust_analyzer_repo_name] = "@{}_srcs//:rust_analyzer_toolchain".format( + toolchain_labels[rust_analyzer_repo_name] = "@{}_tools//:rust_analyzer_toolchain".format( rust_analyzer_repo_name, ) exec_compatible_with_by_toolchain[rust_analyzer_repo_name] = []