2016-07-31 23:25:00 -05:00
|
|
|
// Test overlong function signature
|
2017-06-11 23:01:41 -05:00
|
|
|
pub unsafe fn reborrow_mut(
|
|
|
|
&mut X: Abcde,
|
|
|
|
) -> Handle<NodeRef<marker::Mut, K, V, NodeType>, HandleType> {
|
2016-07-31 23:25:00 -05:00
|
|
|
}
|
|
|
|
|
2017-06-11 23:01:41 -05:00
|
|
|
pub fn merge(
|
|
|
|
mut X: Abcdef,
|
|
|
|
) -> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::Edge> {
|
2016-07-31 23:25:00 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
impl Handle {
|
2017-06-11 23:01:41 -05:00
|
|
|
pub fn merge(
|
|
|
|
a: Abcd,
|
|
|
|
) -> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::Edge> {
|
2016-07-31 23:25:00 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Long function without return type that should not be reformated.
|
|
|
|
fn veeeeeeeeeeeeeeeeeeeeery_long_name(a: FirstTypeeeeeeeeee, b: SecondTypeeeeeeeeeeeeeeeeeeeeeee) {}
|
|
|
|
|
2017-05-25 08:55:33 -05:00
|
|
|
fn veeeeeeeeeeeeeeeeeeeeeery_long_name(a: FirstTypeeeeeeeeee, b: SecondTypeeeeeeeeeeeeeeeeeeeeeee) {
|
|
|
|
}
|
|
|
|
|
2017-06-11 23:01:41 -05:00
|
|
|
fn veeeeeeeeeeeeeeeeeeeeeeery_long_name(
|
|
|
|
a: FirstTypeeeeeeeeee,
|
|
|
|
b: SecondTypeeeeeeeeeeeeeeeeeeeeeee,
|
|
|
|
) {
|
2016-07-31 23:25:00 -05:00
|
|
|
}
|