]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35573 - wdv4758h:E0138, r=jonathandturner
authorEduard-Mihai Burtescu <edy.burt@gmail.com>
Sun, 14 Aug 2016 17:29:49 +0000 (20:29 +0300)
committerGitHub <noreply@github.com>
Sun, 14 Aug 2016 17:29:49 +0000 (20:29 +0300)
commitc3cede2257424d3d1879618a784974b967491b9b
tree8bf6235a1ce8d041ddfee4a7af0b3cde6f04ce53
parent9c347b93a48c4a0f45b82ac62f90a1296dc5ff7a
parent92f7e85b303b67c2e412275ba663bb811388f9a4
Rollup merge of #35573 - wdv4758h:E0138, r=jonathandturner

Update E0138 to new format

Part of #35233
Fix #35510
r? @jonathandturner

![e0138](https://cloud.githubusercontent.com/assets/2716047/17562415/7200d93c-5f5d-11e6-98ff-e15c29f40e03.png)

Question: How can I only underline the function name ? I have observed the debug output and the struct of item, but I can't find the `Span` for function name. Should I modify the struct I get to save function name's position or there is another way to get it ? (I can only find `Span`s for function attributes, inputs, outputs, blocks)