Update tests

This commit is contained in:
Seiichi Uchida 2017-08-01 22:26:37 +09:00
parent 659d325982
commit d2acd99703
6 changed files with 17 additions and 22 deletions

View File

@ -3,13 +3,10 @@
trait Lorem {
fn ipsum<Dolor>(dolor: Dolor) -> Sit
where
Dolor: Eq;
where Dolor: Eq;
fn ipsum<Dolor>(dolor: Dolor) -> Sit
where
Dolor: Eq,
{
where Dolor: Eq {
// body
}
}

View File

@ -3,8 +3,7 @@
trait Lorem {
fn ipsum<Dolor>(dolor: Dolor) -> Sit
where
Dolor: Eq;
where Dolor: Eq;
fn ipsum<Dolor>(dolor: Dolor) -> Sit
where

View File

@ -13,9 +13,7 @@ where
}
fn qux()
where
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
{
where X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT {
baz();
}

View File

@ -86,14 +86,12 @@ where
{
}
fn foo()
-> (
fn foo() -> (
Loooooooooooooooooooooong,
Reeeeeeeeeeeeeeeeeeeeeeeeturn,
iiiiiiiiis,
Looooooooooooooooong,
)
{
) {
foo();
}
@ -136,13 +134,11 @@ fn foo<L: Loooooooooooooooooooong, G: Geeeeeeeeeeneric, I: iiiiiiiiis, L: Looooo
foo();
}
fn foo()
-> (
fn foo() -> (
Looooooooooooooooooooooooooong,
Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeturn,
iiiiiiiiiiiiiis,
Loooooooooooooooooooooong,
)
{
) {
foo();
}

View File

@ -12,3 +12,10 @@ impl Foo {
fn some_inpu(&mut self, input: Input, input_path: Option<PathBuf>) -> (Input, Option<PathBuf>) {
}
}
// #1843
#[allow(non_snake_case)]
pub extern "C" fn Java_com_exonum_binding_storage_indices_ValueSetIndexProxy_nativeContainsByHash(
) -> bool {
false
}

View File

@ -151,16 +151,14 @@ fn main() {
let s = expand(a, b);
}
fn deconstruct()
-> (
fn deconstruct() -> (
SocketAddr,
Method,
Headers,
RequestUri,
HttpVersion,
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,
)
{
) {
}
fn deconstruct(