diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-29 12:32:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-29 12:32:26 +0100 |
| commit | fda206633da99468b4f813a2f888e05e31bafa2d (patch) | |
| tree | f61f165ab84dc996ed1b412aa5fdfdb64e1ae279 /src/test/ui/parser | |
| parent | 647d09fced568c7275211e3d7e1a084d94757a2a (diff) | |
| parent | 4644c3a6aa0ff0ad394175a029f5531728ecff31 (diff) | |
| download | rust-fda206633da99468b4f813a2f888e05e31bafa2d.tar.gz rust-fda206633da99468b4f813a2f888e05e31bafa2d.zip | |
Rollup merge of #59467 - hgallagher1993:local_branch, r=estebank
Better diagnostic for binary operation on BoxedValues Fixes #59458
Diffstat (limited to 'src/test/ui/parser')
| -rw-r--r-- | src/test/ui/parser/require-parens-for-chained-comparison.stderr | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/parser/require-parens-for-chained-comparison.stderr b/src/test/ui/parser/require-parens-for-chained-comparison.stderr index 4597b143215..8899b0d43cd 100644 --- a/src/test/ui/parser/require-parens-for-chained-comparison.stderr +++ b/src/test/ui/parser/require-parens-for-chained-comparison.stderr @@ -38,10 +38,12 @@ LL | false == 0 < 2; found type `{integer}` error[E0369]: binary operation `<` cannot be applied to type `fn() {f::<_>}` - --> $DIR/require-parens-for-chained-comparison.rs:13:5 + --> $DIR/require-parens-for-chained-comparison.rs:13:6 | LL | f<X>(); - | ^^^ + | -^- X + | | + | fn() {f::<_>} | = note: an implementation of `std::cmp::PartialOrd` might be missing for `fn() {f::<_>}` |
