We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6da95 commit 6b744b2Copy full SHA for 6b744b2
src/comp/syntax/parse/parser.rs
@@ -1357,7 +1357,7 @@ fn parse_fn_expr(p: parser, kw: fn_kw) -> @ast::expr {
1357
(fn_kw_fn., true) { ast::proto_bare }
1358
(fn_kw_fn_at., true) { ast::proto_send }
1359
(fn_kw_lambda., true) { ast::proto_send }
1360
- (fn_kw_block., true) { p.fatal("block cannot be declared sendable"); }
+ (fn_kw_block., true) { p.fatal("block cannot be declared sendable") }
1361
(fn_kw_fn., false) { ast::proto_bare }
1362
(fn_kw_fn_at., false) { ast::proto_shared(ast::sugar_normal) }
1363
(fn_kw_lambda., false) { ast::proto_shared(ast::sugar_sexy) }
0 commit comments