auto merge of #13713 : edwardw/rust/methodcall-span, r=alexcrichton
Specifically, the method parameter cardinality mismatch or missing method error message span now gets method itself exactly. It was the whole expression. Closes #9390 Closes #13684 Closes #13709
This commit is contained in:
@@ -1208,7 +1208,7 @@ impl<'a> State<'a> {
|
||||
let base_args = args.slice_from(1);
|
||||
try!(self.print_expr(*args.get(0)));
|
||||
try!(word(&mut self.s, "."));
|
||||
try!(self.print_ident(ident));
|
||||
try!(self.print_ident(ident.node));
|
||||
if tys.len() > 0u {
|
||||
try!(word(&mut self.s, "::<"));
|
||||
try!(self.commasep(Inconsistent, tys.as_slice(),
|
||||
|
||||
Reference in New Issue
Block a user