diff --git a/tests/source/expr.rs b/tests/source/expr.rs index 11d3fa98f9d..80e4f2b623f 100644 --- a/tests/source/expr.rs +++ b/tests/source/expr.rs @@ -299,3 +299,12 @@ fn issue1106() { .filter_entry(|entry| exclusions.filter_entry(entry)) { } } + +fn issue1570() { + a_very_long_function_name({some_func(1, {1})}) +} + +fn issue1714() { + v = &mut {v}[mid..]; + let (left, right) = {v}.split_at_mut(mid); +} diff --git a/tests/target/expr.rs b/tests/target/expr.rs index 55d023cb55d..b6509040714 100644 --- a/tests/target/expr.rs +++ b/tests/target/expr.rs @@ -358,3 +358,12 @@ fn issue1106() { .filter_entry(|entry| exclusions.filter_entry(entry)) {} } + +fn issue1570() { + a_very_long_function_name({ some_func(1, { 1 }) }) +} + +fn issue1714() { + v = &mut { v }[mid..]; + let (left, right) = { v }.split_at_mut(mid); +}