This is in the rustc docs, but this can probably be reproduced pretty easily elsewhere. **[beta](https://doc.rust-lang.org/beta/nightly-rustc/rustc_middle/hir/map/struct.Map.html#method.attrs)** (also on nightly)  **[stable](https://doc.rust-lang.org/stable/nightly-rustc/rustc_middle/hir/map/struct.Map.html#method.attrs)** Note that there is no notable traits dialog: 