use crate::*; const BASE_IGNORE: &str = r#" #[cfg(not(feature = "only-types"))] #[cfg_attr(feature = "only-types", doc = "This will be ignored by onlytypes.")] "#; pub fn ignore(input: TokenStream) -> TokenStream { format!("{BASE_IGNORE}{}", input.to_string()).parse().unwrap() }