We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e251247 commit ffb593bCopy full SHA for ffb593b
compiler/rustc_errors/src/emitter.rs
@@ -656,11 +656,6 @@ impl Emitter for SilentEmitter {
656
}
657
658
659
-/// Maximum number of lines we will print for a multiline suggestion; arbitrary.
660
-///
661
-/// This should be replaced with a more involved mechanism to output multiline suggestions that
662
-/// more closely mimics the regular diagnostic output, where irrelevant code lines are elided.
663
-pub const MAX_SUGGESTION_HIGHLIGHT_LINES: usize = 6;
664
/// Maximum number of suggestions to be shown
665
///
666
/// Arbitrary, but taken from trait import suggestion limit
0 commit comments