about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
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 bec58354137..4d13b8ac9a5 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2139,7 +2139,7 @@ class parser {
           Is it strange for the parser to check this?
           */
           none {
-            self.fatal("class with no ctor");
+            self.fatal("class with no constructor");
           }
         }
     }