(self, context: F)
| 125 | |
| 126 | #[track_caller] |
| 127 | fn change_context_lazy<C, F>(self, context: F) -> Result<T, Report<C>> |
| 128 | where |
| 129 | C: Error + Send + Sync + 'static, |
| 130 | F: FnOnce() -> C, |
| 131 | { |
| 132 | match self { |
| 133 | Ok(value) => Ok(value), |
| 134 | Err(error) => Err(error.into_report().change_context(context())), |
| 135 | } |
| 136 | } |
| 137 | } |
nothing calls this directly
no test coverage detected