]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #77758 - Stupremee:turbofish-help-for-const, r=varkor
authorJonas Schievink <jonasschievink@gmail.com>
Thu, 26 Nov 2020 12:39:00 +0000 (13:39 +0100)
committerGitHub <noreply@github.com>
Thu, 26 Nov 2020 12:39:00 +0000 (13:39 +0100)
commit9b2117d1f62116467de870d8264dfb926d68c22f
tree1a812f55f357b16b097e64571dcdb57512b43f21
parent0d9651648d3b741e81ba7042e49a07b78a441517
parent4379a43e461f7727af2a37b12c7c83f290fc7856
Rollup merge of #77758 - Stupremee:turbofish-help-for-const, r=varkor

suggest turbofish syntax for uninferred const arguments

When not providing a const generic value, and it can not be inferred, the following suggestion is suggested:
![image](https://user-images.githubusercontent.com/39732259/95616180-af127b80-0a69-11eb-8877-551c815f9627.png)

Resolves #76737

r? ``@varkor``