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 3c6a2d9 commit f758d54Copy full SHA for f758d54
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: d7a6c83c8c952e1f22e9b62f1b25705167ac0bb9
+refs/heads/master: f6490a6f03dd997d7cb801dff9d48a56b336fccc
trunk/src/comp/front/parser.rs
@@ -1003,6 +1003,12 @@ impure fn parse_dot_or_call_expr(parser p) -> @ast.expr {
1003
1004
impure fn parse_prefix_expr(parser p) -> @ast.expr {
1005
1006
+ if (p.peek() == token.MUTABLE) {
1007
+ p.bump();
1008
+ p.get_session().span_warn(p.get_span(),
1009
+ "ignoring deprecated 'mutable' prefix operator");
1010
+ }
1011
+
1012
auto lo = p.get_span();
1013
auto hi = lo;
1014
0 commit comments