summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/use-attr.rs
blob: 996b7bba62181499b2b2cb627b780f3d5ab9217e (plain)
1
2
3
4
5
6
7
8
// edition:2018

// ICE when rustdoc encountered a use statement of a non-macro attribute (see #58054)

// @has use_attr/index.html
// @has - '//code' 'pub use proc_macro_attribute'
pub use proc_macro_attribute;
use proc_macro_derive;