The docs need to be built with the rustbuild feature so the correct stability attributes (rustc_private) get applied.