Closed as not planned
Closed as not planned
Description
In Clippy we have a convenience function for DiagnosticBuilder::span_suggestion
: https://github.com/rust-lang/rust-clippy/blob/fd563810158425c20f27768da4ef54c54230bbbf/clippy_lints/src/utils/diagnostics.rs#L169-L177
Until now we had 3 cases where the suggestion wasn't emitted: rust-lang/rust-clippy#4119, rust-lang/rust-clippy#3582 (comment), rust-lang/rust-clippy#3913
This issue still occurs, when replacing the convenience functions with the normal DiagnosticBuilder
methods.
Until now I couldn't figure out a pattern when or why this happens.