mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
remove MAX_SUGGESTION_HIGHLIGHT_LINES
This commit is contained in:
parent
e2512477a9
commit
ffb593bf4d
@ -656,11 +656,6 @@ impl Emitter for SilentEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
/// 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.
|
||||
pub const MAX_SUGGESTION_HIGHLIGHT_LINES: usize = 6;
|
||||
/// Maximum number of suggestions to be shown
|
||||
///
|
||||
/// Arbitrary, but taken from trait import suggestion limit
|
||||
|
Loading…
Reference in New Issue
Block a user