Skip to content

Commit 1bf291f

Browse files
make recommendation clearer on manifest version mismatch (#54779)
It seems common for people to not infer the recommended action here, so make it clearer.
1 parent ad5d502 commit 1bf291f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

base/loading.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2184,15 +2184,16 @@ function collect_manifest_warnings()
21842184
if !isempty(unsuitable_manifests)
21852185
msg *= """
21862186
- Note that the following manifests in the load path were resolved with a different
2187-
julia version, which may be the cause of the error:
2187+
julia version, which may be the cause of the error. Try to re-resolve them in the
2188+
current version, or consider deleting them if that fails:
21882189
$(join(unsuitable_manifests, "\n "))
21892190
"""
21902191
end
21912192
if !isempty(dev_manifests)
21922193
msg *= """
21932194
- Note that the following manifests in the load path were resolved a potentially
2194-
different DEV version of the current version, which may be the cause
2195-
of the error:
2195+
different DEV version of the current version, which may be the cause of the error.
2196+
Try to re-resolve them in the current version, or consider deleting them if that fails:
21962197
$(join(dev_manifests, "\n "))
21972198
"""
21982199
end

0 commit comments

Comments
 (0)