|
| 1 | +error: this file contains an unclosed delimiter |
| 2 | + --> $DIR/issue-91334.rs:10:23 |
| 3 | + | |
| 4 | +LL | fn f(){||yield(((){), |
| 5 | + | - - ^ |
| 6 | + | | | |
| 7 | + | | unclosed delimiter |
| 8 | + | unclosed delimiter |
| 9 | + |
| 10 | +error: this file contains an unclosed delimiter |
| 11 | + --> $DIR/issue-91334.rs:10:23 |
| 12 | + | |
| 13 | +LL | fn f(){||yield(((){), |
| 14 | + | - - ^ |
| 15 | + | | | |
| 16 | + | | unclosed delimiter |
| 17 | + | unclosed delimiter |
| 18 | + |
| 19 | +error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` |
| 20 | + --> $DIR/issue-91334.rs:10:19 |
| 21 | + | |
| 22 | +LL | fn f(){||yield(((){), |
| 23 | + | ^ |
| 24 | + | | |
| 25 | + | expected one of `)`, `,`, `.`, `?`, or an operator |
| 26 | + | help: missing `,` |
| 27 | + |
| 28 | +error: mismatched closing delimiter: `)` |
| 29 | + --> $DIR/issue-91334.rs:10:19 |
| 30 | + | |
| 31 | +LL | fn f(){||yield(((){), |
| 32 | + | - ^^ mismatched closing delimiter |
| 33 | + | | | |
| 34 | + | | unclosed delimiter |
| 35 | + | closing delimiter possibly meant for this |
| 36 | + |
| 37 | +error[E0308]: mismatched types |
| 38 | + --> $DIR/issue-91334.rs:10:8 |
| 39 | + | |
| 40 | +LL | fn f(){||yield(((){), |
| 41 | + | -^^^^^^^^^^^^^^^ expected `()`, found generator |
| 42 | + | | |
| 43 | + | help: try adding a return type: `-> [generator@$DIR/issue-91334.rs:10:8: 10:23]` |
| 44 | + | |
| 45 | + = note: expected unit type `()` |
| 46 | + found generator `[generator@$DIR/issue-91334.rs:10:8: 10:23]` |
| 47 | + |
| 48 | +error: aborting due to 5 previous errors |
| 49 | + |
| 50 | +For more information about this error, try `rustc --explain E0308`. |
0 commit comments