(item_ident: Ident, attr: &Attribute)
| 263 | const ALLOWED_NAMES: &'static [&'static str]; |
| 264 | |
| 265 | fn from_attr(item_ident: Ident, attr: &Attribute) -> Result<Self> { |
| 266 | let (meta_ident, nested) = attr.ident_and_promoted_nested()?; |
| 267 | Self::from_nested(item_ident, meta_ident.clone(), nested.into_iter()) |
| 268 | } |
| 269 | |
| 270 | fn from_nested<I>(item_ident: Ident, meta_ident: Ident, nested: I) -> Result<Self> |
| 271 | where |
nothing calls this directly
no test coverage detected