]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #61438 - estebank:generics-span, r=varkor
authorMazdak Farrokhzad <twingoow@gmail.com>
Sun, 2 Jun 2019 13:23:49 +0000 (15:23 +0200)
committerGitHub <noreply@github.com>
Sun, 2 Jun 2019 13:23:49 +0000 (15:23 +0200)
Point at individual type args on arg count mismatch

- Point at individual type arguments on arg count mismatch
- Make generics always have a valid span, even when there are no args
- Explain that `impl Trait` introduces an implicit type argument

Fix #55991.

1  2 
src/libsyntax/parse/parser.rs

Simple merge