Delete code that has been dead since
RELNOTES: None
@@ -574,15 +574,6 @@ public class SkylarkImportLookupFunction implements SkyFunction {
static SkylarkImportFailedException skylarkErrors(PathFragment file) {
return new SkylarkImportFailedException(String.format("Extension '%s' has errors", file));
}
-
- static final String NO_EXT_WORKSPACE_LOAD_MSG_TEMPLATE =
- "Extension file '%s' may not be loaded from a WORKSPACE file "
- + "since the extension file is located in an external repository.";
- static SkylarkImportFailedException noExternalLoadsFromWorkspace(Label fileLabel) {
- return new SkylarkImportFailedException(String.format(NO_EXT_WORKSPACE_LOAD_MSG_TEMPLATE,
- fileLabel));
- }
-
}
private static final class SkylarkImportLookupFunctionException extends SkyFunctionException {
