about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-23 11:26:48 +0000
committerbors <bors@rust-lang.org>2018-11-23 11:26:48 +0000
commitaecbcd1ce24373a5077a4ea96f17cc2b7c8bb5eb (patch)
tree9d5029637dfe08c6ac6167209619f626af3f6d3e /src/rustllvm/PassWrapper.cpp
parent6a2d1b4e15d5de90f8c36181b1d429da658adfd2 (diff)
parent510f836d2378bc9d7ec48e3c39ca83006aadb197 (diff)
downloadrust-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