fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `match` arm body without braces 2 --> $DIR/match-arm-without-braces.rs:26:27 3 | 4LL | Some(Val::Foo) => 3; 5 | -- ^ this statement is not surrounded by a body 6 | | 7 | while parsing the `match` arm starting here 8 | 9help: replace `;` with `,` to end a `match` arm expression 10 | 11LL | Some(Val::Foo) => 3, 12 | ~ 13 14error: `match` arm body without braces 15 --> $DIR/match-arm-without-braces.rs:31:11 16 | 17LL | Some(Val::Foo) => 18 | -- while parsing the `match` arm starting here 19LL | / 7; 20LL | | 8; 21 | |____________^ these statements are not surrounded by a body 22 | 23help: surround the statements with a body 24 | 25LL ~ { 7; 26LL ~ 8; } 27 | 28 29error: `match` arm body without braces 30 --> $DIR/match-arm-without-braces.rs:37:11 31 | 32LL | Some(Val::Foo) => 33 | -- while parsing the `match` arm starting here 34LL | / 11; 35LL | | 12; 36 | |_____________^ these statements are not surrounded by a body 37 | 38help: surround the statements with a body 39 | 40LL ~ { 11; 41LL ~ 12; } 42 | 43 44error: `match` arm body without braces 45 --> $DIR/match-arm-without-braces.rs:44:11 46 | 47LL | Some(Val::Foo) => 48 | -- while parsing the `match` arm starting here 49LL | / 14; 50LL | | 15; 51 | |_____________^ these statements are not surrounded by a body 52 | 53help: surround the statements with a body 54 | 55LL ~ { 14; 56LL ~ 15; } 57 | 58 59error: expected `,` following `match` arm 60 --> $DIR/match-arm-without-braces.rs:48:29 61 | 62LL | Some(Val::Foo) => 17 63 | ^ help: missing a comma here to end this `match` arm: `,` 64 65error: `match` arm body without braces 66 --> $DIR/match-arm-without-braces.rs:53:11 67 | 68LL | Some(Val::Foo) => 69 | -- while parsing the `match` arm starting here 70LL | / 20; 71LL | | 21 72 | |____________^ these statements are not surrounded by a body 73 | 74help: surround the statements with a body 75 | 76LL ~ { 20; 77LL ~ 21 } 78 | 79 80error: `match` arm body without braces 81 --> $DIR/match-arm-without-braces.rs:59:11 82 | 83LL | Some(Val::Foo) => 84 | -- while parsing the `match` arm starting here 85LL | / 24; 86LL | | 25 87 | |____________^ these statements are not surrounded by a body 88 | 89help: surround the statements with a body 90 | 91LL ~ { 24; 92LL ~ 25 } 93 | 94 95error: `match` arm body without braces 96 --> $DIR/match-arm-without-braces.rs:66:11 97 | 98LL | Some(Val::Foo) => 99 | -- while parsing the `match` arm starting here 100LL | / 27; 101LL | | 28 102 | |____________^ these statements are not surrounded by a body 103 | 104help: surround the statements with a body 105 | 106LL ~ { 27; 107LL ~ 28 } 108 | 109 110error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` 111 --> $DIR/match-arm-without-braces.rs:71:13 112 | 113LL | Some(Val::Foo) => 114 | -- while parsing the `match` arm starting here 115LL | 30; 116 | ^ expected one of `,`, `.`, `?`, `}`, or an operator 117 118error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` 119 --> $DIR/match-arm-without-braces.rs:77:13 120 | 121LL | Some(Val::Foo) => 122 | -- while parsing the `match` arm starting here 123LL | 34; 124 | ^ expected one of `,`, `.`, `?`, `}`, or an operator 125 126error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` 127 --> $DIR/match-arm-without-braces.rs:84:13 128 | 129LL | Some(Val::Foo) => 130 | -- while parsing the `match` arm starting here 131LL | 37; 132 | ^ expected one of `,`, `.`, `?`, `}`, or an operator 133 134error: aborting due to 11 previous errors 135