We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c141718 + f0e29c9 commit ed96d10Copy full SHA for ed96d10
src/comp/syntax/parse/token.rs
@@ -201,6 +201,7 @@ pred can_begin_expr(t: token) -> bool {
201
NOT. { true }
202
BINOP(MINUS.) { true }
203
BINOP(STAR.) { true }
204
+ MOD_SEP. { true }
205
_ { false }
206
}
207
src/test/run-pass/expr-scope.rs
@@ -0,0 +1,5 @@
1
+// Regression test for issue #762
2
+// xfail-stage0
3
+
4
+fn f() { }
5
+fn main() { ret ::f(); }
0 commit comments