Constant rustc_ap_rustc_errors::emitter::MAX_SUGGESTION_HIGHLIGHT_LINES[][src]

pub const MAX_SUGGESTION_HIGHLIGHT_LINES: usize = 6;
Expand description

Maximum number of lines we will print for a multiline suggestion; arbitrary.

This should be replaced with a more involved mechanism to output multiline suggestions that more closely mimics the regular diagnostic output, where irrelevant code lines are elided.