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 38820bd2a12671..f832fe62ea2ec6 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
@@ -161,7 +161,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"