Skip to content

Commit 54091ea

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 2b90174 commit 54091ea

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
@@ -2233,15 +2233,16 @@ function collect_manifest_warnings()
22332233
if !isempty(unsuitable_manifests)
22342234
msg *= """
22352235
- Note that the following manifests in the load path were resolved with a different
2236-
julia version, which may be the cause of the error:
2236+
julia version, which may be the cause of the error. Try to re-resolve them in the
2237+
current version, or consider deleting them if that fails:
22372238
$(join(unsuitable_manifests, "\n "))
22382239
"""
22392240
end
22402241
if !isempty(dev_manifests)
22412242
msg *= """
22422243
- Note that the following manifests in the load path were resolved a potentially
2243-
different DEV version of the current version, which may be the cause
2244-
of the error:
2244+
different DEV version of the current version, which may be the cause of the error.
2245+
Try to re-resolve them in the current version, or consider deleting them if that fails:
22452246
$(join(dev_manifests, "\n "))
22462247
"""
22472248
end

0 commit comments

Comments
 (0)