2015-11-27 02:25:31 -06:00
|
|
|
pub trait Test {
|
|
|
|
fn very_long_method_name<F>(self, f: F) -> MyVeryLongReturnType
|
2017-06-11 23:01:41 -05:00
|
|
|
where
|
|
|
|
F: FnMut(Self::Item) -> bool;
|
|
|
|
fn exactly_100_chars1<F>(self, f: F) -> MyVeryLongReturnType
|
|
|
|
where
|
|
|
|
F: FnMut(Self::Item) -> bool;
|
2015-11-27 02:25:31 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
fn very_long_function_name<F>(very_long_argument: F) -> MyVeryLongReturnType
|
2017-06-11 23:01:41 -05:00
|
|
|
where
|
|
|
|
F: FnMut(Self::Item) -> bool,
|
2015-11-27 02:25:31 -06:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
struct VeryLongTupleStructName<A, B, C, D, E>(LongLongTypename, LongLongTypename, i32, i32)
|
2017-06-11 23:01:41 -05:00
|
|
|
where
|
|
|
|
A: LongTrait;
|
2015-11-27 02:25:31 -06:00
|
|
|
|
2017-06-11 23:01:41 -05:00
|
|
|
struct Exactly100CharsToSemicolon<A, B, C, D, E>(LongLongTypename, i32, i32)
|
|
|
|
where
|
|
|
|
A: LongTrait1234;
|
2015-11-27 02:25:31 -06:00
|
|
|
|
|
|
|
struct AlwaysOnNextLine<LongLongTypename, LongTypename, A, B, C, D, E, F>
|
2017-06-11 23:01:41 -05:00
|
|
|
where
|
|
|
|
A: LongTrait,
|
2015-11-27 02:25:31 -06:00
|
|
|
{
|
|
|
|
x: i32,
|
|
|
|
}
|