]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #76028 - aticu:improve_e0118, r=estebank,jyn514,GuillaumeGomez
authorbors <bors@rust-lang.org>
Thu, 17 Sep 2020 03:56:38 +0000 (03:56 +0000)
committerbors <bors@rust-lang.org>
Thu, 17 Sep 2020 03:56:38 +0000 (03:56 +0000)
commit95386b656e91168bf53e2ab63c6b992cae591fe7
tree1f8188971f7f3a37db4a03b96941449576352c13
parent285fc7d704fcdd7b2a37d475d04d5d955490e000
parent81161bed41124a7a62bdaf5a349df0e8f2ff09bf
Auto merge of #76028 - aticu:improve_e0118, r=estebank,jyn514,GuillaumeGomez

Improve E0118

- Changes the "base type" terminology to "nominal type" (according to the [reference](https://doc.rust-lang.org/stable/reference/items/implementations.html#inherent-implementations)).
- Suggests removing a reference, if one is present on the type.
- Clarify what is meant by a "nominal type".

closes #69392

This is my first not-entirely-trivial PR, so please let me know if I missed anything or if something could be improved. Though I probably won't be able to fix anything in the upcoming week.