diff options
| author | bors <bors@rust-lang.org> | 2018-11-23 11:26:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-11-23 11:26:48 +0000 |
| commit | aecbcd1ce24373a5077a4ea96f17cc2b7c8bb5eb (patch) | |
| tree | 9d5029637dfe08c6ac6167209619f626af3f6d3e /src/rustllvm/PassWrapper.cpp | |
| parent | 6a2d1b4e15d5de90f8c36181b1d429da658adfd2 (diff) | |
| parent | 510f836d2378bc9d7ec48e3c39ca83006aadb197 (diff) | |
| download | rust-aecbcd1ce24373a5077a4ea96f17cc2b7c8bb5eb.tar.gz rust-aecbcd1ce24373a5077a4ea96f17cc2b7c8bb5eb.zip | |
Auto merge of #55808 - estebank:type-arguments, r=petrochenkov
Suggest correct syntax when writing type arg instead of assoc type - When confusing an associated type with a type argument, suggest the appropriate syntax. Given `Iterator<isize>`, suggest `Iterator<Item = isize>`. - When encountering multiple missing associated types, emit only one diagnostic. - Point at associated type def span for context. - Point at each extra type argument. Follow up to #48288, fix #20977.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
