Skip to content

Commit

Permalink
Clarify error message (#351)
Browse files Browse the repository at this point in the history
The error message refers to `proc-macro-deps`, which is a string that only exists in this file. Updating the reference to say `proc_macro_deps` which is a common string in the repo and is well documented.
  • Loading branch information
achew22 committed Jun 23, 2020
1 parent 264fd66 commit 0b78453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/private/rustc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def collect_deps(label, deps, proc_macro_deps, aliases, toolchain):
if CrateInfo in dep:
if dep[CrateInfo].type == "proc-macro":
fail(
"{} listed {} in its deps, but it is a proc-macro. It should instead be in proc-macro-deps.".format(
"{} listed {} in its deps, but it is a proc-macro. It should instead be in the bazel property proc_macro_deps.".format(
label,
dep.label,
)
Expand Down

0 comments on commit 0b78453

Please sign in to comment.