(reason: &'static str)
| 39 | One(Target::Predicate(predicate)) |
| 40 | } |
| 41 | const fn removed(reason: &'static str) -> Replacement { |
| 42 | One(Target::Removed { reason }) |
| 43 | } |
| 44 | const fn endpoint(from: &'static str, to: &'static str, predicate: Predicate) -> EndpointRule { |
| 45 | EndpointRule { |
| 46 | from_kind: Some(from), |
no outgoing calls