diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-03-13 19:07:47 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-03-14 12:09:21 -0700 |
| commit | e3b8550a601ca920284f91ceff30a29340832fe7 (patch) | |
| tree | a6fbd6f669a6d206cd44d3398129699c94a143bd /src/rustllvm/RustWrapper.cpp | |
| parent | 6f10e2f63de720468e2b4bfcb275e4b90b1f9870 (diff) | |
| download | rust-e3b8550a601ca920284f91ceff30a29340832fe7.tar.gz rust-e3b8550a601ca920284f91ceff30a29340832fe7.zip | |
Point out correct turbofish usage on `Foo<Bar<Baz>>`
Whenever we parse a chain of binary operations, as long as the first
operation is `<` and the subsequent operations are either `>` or `<`,
present the following diagnostic help:
use `::<...>` instead of `<...>` if you meant to specify type arguments
This will lead to spurious recommendations on situations like
`2 < 3 < 4` but should be clear from context that the help doesn't apply
in that case.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
