()
| 1588 | #[test] |
| 1589 | #[should_panic(expected = "Unsupported attribute in `node`")] |
| 1590 | fn test_unsupported_attribute() { |
| 1591 | let attr = quote!(unsupported("Value")); |
| 1592 | let input = quote!( |
| 1593 | fn test_node(input: i32) -> i32 { |
| 1594 | input |
| 1595 | } |
| 1596 | ); |
| 1597 | parse_node_fn(attr, input).unwrap(); |
| 1598 | } |
| 1599 | |
| 1600 | #[test] |
| 1601 | fn test_invalid_implementation_syntax() { |
nothing calls this directly
no test coverage detected