about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-05-30 15:33:13 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-05-31 18:33:59 -0700
commit74fb3bbee45d54e1680832ba064fa1af8d344bc0 (patch)
tree01ab612bf99564ee00c8815ec1ec07d84c41deb9 /src/test/ui/thinlto
parent65c2a7b18bb34547de7c716ace2e8878c2676794 (diff)
downloadrust-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