diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2020-01-25 12:26:33 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2020-01-25 12:26:33 -0800 |
| commit | 16709f032cfaa0b37a83bc798f0dd4a30d2b2c0c (patch) | |
| tree | 6b98ae14e837a885ea58f36a3b29cb71edbf6544 /src/librustc_errors | |
| parent | 600e385c43904eb4a5337427f3f6fb169fe32234 (diff) | |
| download | rust-16709f032cfaa0b37a83bc798f0dd4a30d2b2c0c.tar.gz rust-16709f032cfaa0b37a83bc798f0dd4a30d2b2c0c.zip | |
Revert suggestion window size change
Diffstat (limited to 'src/librustc_errors')
| -rw-r--r-- | src/librustc_errors/emitter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_errors/emitter.rs b/src/librustc_errors/emitter.rs index b62e4223fea..7218730538a 100644 --- a/src/librustc_errors/emitter.rs +++ b/src/librustc_errors/emitter.rs @@ -462,7 +462,7 @@ pub const MAX_HIGHLIGHT_LINES: usize = 6; /// /// This should be replaced with a more involved mechanism to output multiline suggestions that /// more closely mimmics the regular diagnostic output, where irrelevant code lines are elided. -pub const MAX_SUGGESTION_HIGHLIGHT_LINES: usize = 20; +pub const MAX_SUGGESTION_HIGHLIGHT_LINES: usize = 6; /// Maximum number of suggestions to be shown /// /// Arbitrary, but taken from trait import suggestion limit |
