Revert suggestion window size change

This commit is contained in:
Esteban Küber 2020-01-25 12:26:33 -08:00
parent 600e385c43
commit 16709f032c
3 changed files with 3 additions and 5 deletions

View File

@ -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 /// 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. /// 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 /// Maximum number of suggestions to be shown
/// ///
/// Arbitrary, but taken from trait import suggestion limit /// Arbitrary, but taken from trait import suggestion limit

View File

@ -74,8 +74,7 @@ LL |
LL | as LL | as
LL | LL |
LL | LL |
LL | usize) ...
|
error: `<` is interpreted as a start of generic arguments for `usize`, not a shift error: `<` is interpreted as a start of generic arguments for `usize`, not a shift
--> $DIR/issue-22644.rs:32:31 --> $DIR/issue-22644.rs:32:31

View File

@ -13,8 +13,7 @@ LL | dyn Foo(&isize) -> &isize >();
LL | eq::< dyn for<'a> Foo<(&'a isize,), Output=(&'a isize, &'a isize)>, LL | eq::< dyn for<'a> Foo<(&'a isize,), Output=(&'a isize, &'a isize)>,
LL | dyn Foo(&isize) -> (&isize, &isize) >(); LL | dyn Foo(&isize) -> (&isize, &isize) >();
LL | LL |
LL | let _: dyn Foo(&isize, &usize) -> &'lifetime usize; ...
|
error: aborting due to previous error error: aborting due to previous error