diff --git a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleExtensionContext.java b/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleExtensionContext.java
index 049b93053ea03b..c27fbef23a6425 100644
--- a/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleExtensionContext.java
+++ b/src/main/java/com/google/devtools/build/lib/bazel/bzlmod/ModuleExtensionContext.java
@@ -158,7 +158,7 @@ public boolean isDevDependency(TypeCheckedTag tag) {
+ " repositories or does not import all of these repositories via use_repo
on an"
+ " extension proxy created with use_extension(...,"
+ + " href=\"../globals/module.html#use_extension\">use_extension(...,"
+ " dev_dependency = True)
, Bazel will print a warning and a fixup"
+ " command when the extension is evaluated.
If one of"
+ " root_module_direct_deps
and"