about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-10 21:56:13 +0000
committerbors <bors@rust-lang.org>2017-04-10 21:56:13 +0000
commit730e5ad04e23f30cc24e4b87dfd5da807325e243 (patch)
treeffaa2707a389f266128ffda4b87264935ae750d6 /src/test/run-pass/thinlto
parent3b5754e5ce73d24c6684b3ed0c68a557dfdd2f52 (diff)
parentbe8787dfe564cf315a9343a84724130da322e805 (diff)
downloadrust-730e5ad04e23f30cc24e4b87dfd5da807325e243.tar.gz
rust-730e5ad04e23f30cc24e4b87dfd5da807325e243.zip
Auto merge of #40565 - estebank:binops-help, r=arielb1
Explicit help message for binop type mismatch

When trying to do `1 + Some(2)`, or some other binary operation on two
types different types without an appropriate trait implementation, provide
an explicit help message:

```rust
help: `{integer} + std::option::Option<{integer}>` has no implementation
```

Re: #39579, #38564, #37626, #39942, #34698.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions