Access attrs directly from HirId in rustdoc::doctest.
Access attrs directly from HirId in rustdoc::doctest.

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