Add back MAX_SUGGESTION_HIGHLIGHT_LINES so clippy is happy & buildable
This commit is contained in:
parent
cf6f821c33
commit
3c55672795
1 changed files with 5 additions and 0 deletions
|
@ -656,6 +656,11 @@ 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
|
/// Maximum number of suggestions to be shown
|
||||||
///
|
///
|
||||||
/// Arbitrary, but taken from trait import suggestion limit
|
/// Arbitrary, but taken from trait import suggestion limit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue