diff --git a/src/lib.rs b/src/lib.rs index 2ba476466ab8..c6a9654d4d1d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -273,7 +273,9 @@ impl FormatReport { } } -#[deprecated(note = "Use FormatReportFormatter instead")] +/// Deprecated - Use FormatReportFormatter instead +// https://github.com/rust-lang/rust/issues/78625 +// https://github.com/rust-lang/rust/issues/39935 impl fmt::Display for FormatReport { // Prints all the formatting errors. fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {