diff options
| author | Michael Goulet <michael@errs.io> | 2022-09-04 22:21:15 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-09-08 02:06:48 +0000 |
| commit | 30e3673d437d7ca049d6080eee19e696c3d7429f (patch) | |
| tree | 2be19a3d0efde4f4799201313c83153d9bcdcb95 /src | |
| parent | 0dbbf0f49398d6c74fd3337dd171fac6c7aa3d12 (diff) | |
| download | rust-30e3673d437d7ca049d6080eee19e696c3d7429f.tar.gz rust-30e3673d437d7ca049d6080eee19e696c3d7429f.zip | |
Add associated item binding to non-param-ty where clause suggestions
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/traits/resolution-in-overloaded-op.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/traits/resolution-in-overloaded-op.stderr b/src/test/ui/traits/resolution-in-overloaded-op.stderr index 34fae64e4d2..b67e334d40a 100644 --- a/src/test/ui/traits/resolution-in-overloaded-op.stderr +++ b/src/test/ui/traits/resolution-in-overloaded-op.stderr @@ -8,8 +8,8 @@ LL | a * b | help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement | -LL | fn foo<T: MyMul<f64, f64>>(a: &T, b: f64) -> f64 where &T: Mul<f64> { - | ++++++++++++++++++ +LL | fn foo<T: MyMul<f64, f64>>(a: &T, b: f64) -> f64 where &T: Mul<f64, Output=f64> { + | ++++++++++++++++++++++++++++++ error: aborting due to previous error |
