From d8d4a6a842d0cd323e5eddff8ec1cbfcc66ac091 Mon Sep 17 00:00:00 2001 From: Nick Hamann Date: Thu, 21 May 2015 01:17:50 -0500 Subject: Fix typo. --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index eb6420165da..539d594cb8b 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -4564,7 +4564,7 @@ impl<'a> Parser<'a> { if try!(self.eat(&token::DotDot) ){ if generics.is_parameterized() { self.span_err(impl_span, "default trait implementations are not \ - allowed to have genercis"); + allowed to have generics"); } try!(self.expect(&token::OpenDelim(token::Brace))); -- cgit 1.4.1-3-g733a5