summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-22 12:48:19 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-22 12:48:19 -0800
commit6938d51122f37dd7ab213b88bc2d457c5a9da781 (patch)
tree8b6c622fcbf8de3f657ed76c77a6cf8cfb7c2399 /src/libsyntax/parse
parentfac17defcb8d0642c25bf8f791e1dc5b4e110be8 (diff)
parent7f0d2e8a2b0b69aef99ebb2f915b5f62922e6739 (diff)
downloadrust-6938d51122f37dd7ab213b88bc2d457c5a9da781.tar.gz
rust-6938d51122f37dd7ab213b88bc2d457c5a9da781.zip
rollup merge of #20141: frewsxcv/rfc438
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

--------------

Chis Morgan has a pretty important documentation fix in #19385 and he hasn't responded in a while to that pull request so I rebased it for him

Closes #19385
Diffstat (limited to 'src/libsyntax/parse')
-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 7e53b28a09c..197970317d2 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)