]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type-alias-impl-trait/multiple-def-uses-in-one-fn.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / type-alias-impl-trait / multiple-def-uses-in-one-fn.stderr
index f4d8b4509d43d1942614519e10049e129f5dcf2a..198f3e26393d432edde69706efb551918d139701 100644 (file)
@@ -5,7 +5,7 @@ LL |     (a, a)
    |         ^ the trait `From<&A>` is not implemented for `&'static B`
    |
    = note: required because of the requirements on the impl of `Into<&'static B>` for `&A`
-help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement
+help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
    |
 LL | fn f<A, B: 'static>(a: &'static A, b: B) -> (X<A, B>, X<B, A>) where &'static B: From<&A> {
    |                                                                ++++++++++++++++++++++++++