Auto merge of #4014 - Xanewok:rustup-60124, r=matthiaskrgr
Auto merge of #4014 - Xanewok:rustup-60124, r=matthiaskrgr

rustup: Use newly-introduced mutability query for statics

Fixes fallout from https://github.com/rust-lang/rust/pull/60124.
cc https://github.com/rust-lang/rust/issues/60154

changelog: none

aidancully/rust,graydon/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust