about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2014-11-29 10:20:22 +1100
committerCorey Farwell <coreyf@rwell.org>2014-12-22 11:50:15 -0800
commit7f0d2e8a2b0b69aef99ebb2f915b5f62922e6739 (patch)
tree7957b7a1a3ecf064d54e4d04e7bc8004f19bca0d /src/libsyntax/parse/parser.rs
parent1c2df5cc3cfc0c9e80adf9fa6504d55056741c5a (diff)
downloadrust-7f0d2e8a2b0b69aef99ebb2f915b5f62922e6739.tar.gz
rust-7f0d2e8a2b0b69aef99ebb2f915b5f62922e6739.zip
RFC 248? I think you meant RFC 438.
There ain’t an RFC 248, while 438 looks to be what is being referred to:
https://github.com/rust-lang/rfcs/blob/master/text/0438-precedence-of-plus.md
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 3ad224b93ce..db195c0f206 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1456,7 +1456,7 @@ impl<'a> Parser<'a> {
                 // clauses (i.e., not when parsing something like
                 // `FnMut() -> T + Send`, where the `+` is legal).
                 if self.token == token::BinOp(token::Plus) {
-                    self.warn("deprecated syntax: `()` are required, see RFC 248 for details");
+                    self.warn("deprecated syntax: `()` are required, see RFC 438 for details");
                 }
 
                 Return(t)