| 2 | |
| 3 | #[derive(Parse, ToTokens)] |
| 4 | pub struct InputImplInherent { |
| 5 | attrs: Any<Attribute<SynMeta>>, |
| 6 | defaultness: Optional<Token![default]>, |
| 7 | unsafety: Optional<Token![unsafe]>, |
| 8 | impl_token: Token![impl], |
| 9 | generics: Optional<InputGenerics>, |
| 10 | self_ty: Box<Type>, |
| 11 | where_clause: Optional<WhereClause>, |
| 12 | items: Brace<Any<InputImplItem>>, |
| 13 | } |
| 14 | |
| 15 | pub fn run(input: InputImplInherent) -> Result<TokenStream> { |
| 16 | let sane = sanitize_input(input)?; |
nothing calls this directly
no outgoing calls
no test coverage detected