(self)
| 951 | #[cfg(feature = "std")] |
| 952 | impl<C> std::process::Termination for Report<C> { |
| 953 | fn report(self) -> ExitCode { |
| 954 | #[cfg(not(nightly))] |
| 955 | return ExitCode::FAILURE; |
| 956 | |
| 957 | #[cfg(nightly)] |
| 958 | self.request_ref::<ExitCode>() |
| 959 | .next() |
| 960 | .copied() |
| 961 | .unwrap_or(ExitCode::FAILURE) |
| 962 | } |
| 963 | } |
| 964 | |
| 965 | impl<C> FromIterator<Report<C>> for Option<Report<[C]>> { |