diff options
| author | Michael Goulet <michael@errs.io> | 2022-08-17 00:21:40 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-08-21 02:35:11 +0000 |
| commit | c8746766cb2e375c8b9eeb1bab656aca4cc2a9d1 (patch) | |
| tree | 5d445492be1b740eaee20d4dc667cbe8221ba8b3 /src/test/ui/issues | |
| parent | 70b29f7c2d6d4b86d5b1492f3aa63969a62b25bf (diff) | |
Rework ambiguity errors
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-69455.stderr | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/ui/issues/issue-69455.stderr b/src/test/ui/issues/issue-69455.stderr index 3e40777c8d0..9d11cf19ea7 100644 --- a/src/test/ui/issues/issue-69455.stderr +++ b/src/test/ui/issues/issue-69455.stderr @@ -14,10 +14,9 @@ error[E0283]: type annotations needed --> $DIR/issue-69455.rs:29:41 | LL | println!("{}", 23u64.test(xs.iter().sum())); - | ----- ---- ^^^ cannot infer type of the type parameter `S` declared on the associated function `sum` - | | | - | | required by a bound introduced by this call - | type must be known at this point + | ---- ^^^ cannot infer type of the type parameter `S` declared on the associated function `sum` + | | + | required by a bound introduced by this call | note: multiple `impl`s satisfying `u64: Test<_>` found --> $DIR/issue-69455.rs:11:1 |
