about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2017-04-10 14:17:49 -0700
committerEsteban Küber <esteban@kuber.com.ar>2017-04-10 14:28:38 -0700
commitbe8787dfe564cf315a9343a84724130da322e805 (patch)
tree4ee9d42669ac1bb82cd27d49d1888e57e3cacabb /src/test/run-pass/thinlto
parentd616f47cd03a65fed13be2ee5527f24f6a4f7f92 (diff)
downloadrust-be8787dfe564cf315a9343a84724130da322e805.tar.gz
rust-be8787dfe564cf315a9343a84724130da322e805.zip
Explicit help message for binop type missmatch
When trying to do a binary operation with missing implementation, for
example `1 + Some(2)`, provide an explicit help message:

```
note: no implementation for `{integer} + std::option::Option<{integer}>`
```

Use `rustc_on_unimplemented` for the suggestions. Move cfail test to ui.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions