PR code at https://github.com/JuliaLang/julia/pull/41368 for implementing this suggestion