diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/result.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 8ef5ffb962b..3cde63493d3 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -1970,6 +1970,7 @@ impl<T, E, F: ~const From<E>> const ops::FromResidual<Result<convert::Infallible for Result<T, F> { #[inline] + #[track_caller] fn from_residual(residual: Result<convert::Infallible, E>) -> Self { match residual { Err(e) => Err(From::from(e)), |
