1 2 3 4 5 6 7 8 9 10 11 12 13 14
use rustdoc_copy::prelude::*; #[test] fn simple() { #[doc_on_only] #[doc = doc::all!()] #[allow(unused)] fn alias() {} /// Some document. #[doc_share(doc)] #[allow(unused)] fn target_item() {} }