about summary refs log tree commit diff
path: root/src/liballoc/alloc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-25 12:54:42 +0000
committerbors <bors@rust-lang.org>2019-11-25 12:54:42 +0000
commitab2155750123d2b6858e521fcad8a6097d0777e4 (patch)
tree9b1cbb5819d9356524bf029a1d975da0a9763557 /src/liballoc/alloc
parent582a4eaee6b3674a34aeefaa5ecad0207bac9b4b (diff)
parent9d7774c64fcbe9f535f649b51add9a701f459526 (diff)
downloadrust-ab2155750123d2b6858e521fcad8a6097d0777e4.tar.gz
rust-ab2155750123d2b6858e521fcad8a6097d0777e4.zip
Auto merge of #66682 - estebank:fn-type-err, r=davidtwco
Highlight parts of fn in type errors

When a type error arises between two fn items, fn pointers or tuples,
highlight only the differing parts of each.

Examples:

<img width="699" alt="" src="https://user-images.githubusercontent.com/1606434/69487597-ab561600-0e11-11ea-9b4e-d4fd9e91d5dc.png">
<img width="528" alt="" src="https://user-images.githubusercontent.com/1606434/69487207-9033d800-0e0a-11ea-93e3-8c4d002411a5.png">
<img width="468" alt="" src="https://user-images.githubusercontent.com/1606434/69487208-9033d800-0e0a-11ea-92e3-2b2cee120335.png">
<img width="775" alt="" src="https://user-images.githubusercontent.com/1606434/69487209-9033d800-0e0a-11ea-9e68-7f6ed5c8cb08.png">
Diffstat (limited to 'src/liballoc/alloc')
0 files changed, 0 insertions, 0 deletions