As someone who has worked in adjacent areas, I guessed that one might find it in random matrix pedagogy, but only after reading Sam (B) Hopkin's comment was I able to get google to give a source for something close to that formula:
https://mathoverflow.net/a/300915
(In particular, I had to prompt with "Stieltjes transform". "Resolvent" alone didn't work.)