Add note
This commit is contained in:
parent
4d05da46e7
commit
7714db873e
4 changed files with 7 additions and 0 deletions
|
@ -226,6 +226,7 @@ hir_analysis_rpitit_refined = impl trait in impl method signature does not match
|
|||
.suggestion = replace the return type so that it matches the trait
|
||||
.label = return type from trait method defined here
|
||||
.unmatched_bound_label = this bound is stronger than that defined on the trait
|
||||
.note = add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate
|
||||
|
||||
hir_analysis_self_in_impl_self =
|
||||
`Self` is not valid in the self type of an impl block
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue