diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-05-30 15:33:13 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-05-31 18:33:59 -0700 |
| commit | 74fb3bbee45d54e1680832ba064fa1af8d344bc0 (patch) | |
| tree | 01ab612bf99564ee00c8815ec1ec07d84c41deb9 /src/test/ui/thinlto | |
| parent | 65c2a7b18bb34547de7c716ace2e8878c2676794 (diff) | |
| download | rust-74fb3bbee45d54e1680832ba064fa1af8d344bc0.tar.gz rust-74fb3bbee45d54e1680832ba064fa1af8d344bc0.zip | |
On type inference errors use the type argument name when possible
``` error[E0282]: type annotations needed in `std::result::Result<i32, E>` --> file7.rs:3:13 | 3 | let b = Ok(4); | - ^^ cannot infer type for `E` in `std::result::Result<i32, E>` | | | consider giving `b` a type` ```
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
