diff --git a/tests/target/configs-where_density-compressed.rs b/tests/target/configs-where_density-compressed.rs index 215c10c2d7a..deddbee459f 100644 --- a/tests/target/configs-where_density-compressed.rs +++ b/tests/target/configs-where_density-compressed.rs @@ -3,13 +3,10 @@ trait Lorem { fn ipsum(dolor: Dolor) -> Sit - where - Dolor: Eq; + where Dolor: Eq; fn ipsum(dolor: Dolor) -> Sit - where - Dolor: Eq, - { + where Dolor: Eq { // body } } diff --git a/tests/target/configs-where_density-compressed_if_empty.rs b/tests/target/configs-where_density-compressed_if_empty.rs index 2a5da551f37..45f22eb602c 100644 --- a/tests/target/configs-where_density-compressed_if_empty.rs +++ b/tests/target/configs-where_density-compressed_if_empty.rs @@ -3,8 +3,7 @@ trait Lorem { fn ipsum(dolor: Dolor) -> Sit - where - Dolor: Eq; + where Dolor: Eq; fn ipsum(dolor: Dolor) -> Sit where diff --git a/tests/target/fn-custom-4.rs b/tests/target/fn-custom-4.rs index c044becc782..297aae5123b 100644 --- a/tests/target/fn-custom-4.rs +++ b/tests/target/fn-custom-4.rs @@ -13,9 +13,7 @@ fn qux() } fn qux() -where - X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT, -{ +where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT { baz(); } diff --git a/tests/target/fn_args_layout-block.rs b/tests/target/fn_args_layout-block.rs index d61fc0b9e7b..c8847768e13 100644 --- a/tests/target/fn_args_layout-block.rs +++ b/tests/target/fn_args_layout-block.rs @@ -86,14 +86,12 @@ fn foo() { } -fn foo() - -> ( +fn foo() -> ( Loooooooooooooooooooooong, Reeeeeeeeeeeeeeeeeeeeeeeeturn, iiiiiiiiis, Looooooooooooooooong, -) -{ +) { foo(); } @@ -136,13 +134,11 @@ fn foo ( +fn foo() -> ( Looooooooooooooooooooooooooong, Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeturn, iiiiiiiiiiiiiis, Loooooooooooooooooooooong, -) -{ +) { foo(); } diff --git a/tests/target/long-fn-1.rs b/tests/target/long-fn-1.rs index f94431965c2..c3d44de7c69 100644 --- a/tests/target/long-fn-1.rs +++ b/tests/target/long-fn-1.rs @@ -12,3 +12,10 @@ fn some_input( fn some_inpu(&mut self, input: Input, input_path: Option) -> (Input, Option) { } } + +// #1843 +#[allow(non_snake_case)] +pub extern "C" fn Java_com_exonum_binding_storage_indices_ValueSetIndexProxy_nativeContainsByHash( +) -> bool { + false +} diff --git a/tests/target/multiple.rs b/tests/target/multiple.rs index a7d7957b478..6e61c82e5f6 100644 --- a/tests/target/multiple.rs +++ b/tests/target/multiple.rs @@ -151,16 +151,14 @@ fn main() { let s = expand(a, b); } -fn deconstruct() - -> ( +fn deconstruct() -> ( SocketAddr, Method, Headers, RequestUri, HttpVersion, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, -) -{ +) { } fn deconstruct(