receiver expression with the appropriate typeitems from traits can only be used if the type parameter is bounded by the traititems from traits can only be used if the trait is implemented and in scope +another supertrait forrestrict type parameter `` withthe trait `` defines an item ``, but is explicitly unimplementedthe following traits define an item ``, but are explicitly unimplemented: candidate #: `the method might not be found because of this arbitrary self typetrait definestraits definethe following an item ``, perhaps you need to inherent impls can't be candidates, only trait impls can beimplementthere are multiple different versions of crate `` in the dependency graphthe receiver is available for here` imported here doesn't correspond to the right version of crate `this is the trait that was imported_elsetry calling `the candidatedisambiguate the for consider dereferencing the left-hand side of this operationcompiler/rustc_hir_typeck/src/op.rscannot add `cannot subtract `cannot multiply `` by `cannot divide `cannot calculate the remainder of `` divided by `no implementation for ` ^ & | binary operation `` cannot be applied to type `+=-=*=/=%=^=&=|=<<=>>=binary assignment operation `cannot use `` is not implemented for `consider using `wrapping_add` or `add` for pointer + {integer}.wrapping_sub(consider using `wrapping_sub` or `sub` for pointer - {integer}unsafe { .offset_from() }consider using `offset_from` for pointer - pointer if the pointers point to the same allocationconsider using `add` or `wrapping_add` to do pointer arithmeticconsider using `sub` or `wrapping_sub` to do pointer arithmetic` can be used on `` if you dereference the left-hand sidean implementation for `&*consider reborrowing both sidesconsider reborrowing this sideconsider making this expression a mutable borrowstring concatenation requires an owned `String` on the left`+` cannot be used to concatenate a `&str` with a `String`remove the borrow on the left and add one on the rightcreate an owned `String` on the left and add a borrow on the right.to_owned()`+` cannot be used to concatenate two `&str` stringsremove the borrow to obtain an owned `String`create an owned `String` from a string referencecannot apply unary operator `` to type `unsigned values cannot be negatedyou may have meant the maximum value of `::MAXthis path really should be doomed...expected RHS for binopinternal error: entered unreachable code: did not expect operand trait to have lifetime/const args&& and || are not overloadablecompiler/rustc_hir_typeck/src/opaque_types.rsunexpected cyclic definition of `compiler/rustc_hir_typeck/src/pat.rsstruct pattern resolved to tuple struct pattern resolved to found byte string literal with non-ref type this is of type `only `char` and numeric types are allowed in range patternsIn a match expression, only numbers and characters can be matched against a range. This is because the compiler checks that the range is non-empty at compile-time, and is unable to evaluate arbitrary comparison functions. If you want to capture values of an orderable type between two end-points, you can use a guard.Impossible, verified above.emit_err_pat_range: no side failed or exists but still error?` but it should be `char` or numericbinding cannot be both mutable and by-referencecannot borrow as mutable inside an `&` patternreplace this `&` with `&mut`first introduced with type `in the same arm, a binding must have the same type in all alternativesconsider adding `ref`consider removing `ref`parameterbindingto declare a mutable to take parameter `` by reference, move `&` to the typeconsider removing `&` from the pattern` cannot be dereferencedThis error indicates that a pointer to a trait type cannot be implicitly dereferenced by a pattern. Every trait defines a type, but because the size of trait implementors isn't fixed, this type has no compile-time size. Therefore, all accesses to trait types must be through pointers. If you encounter this error you should try to avoid dereferencing the pointer. You can read more about trait objects in the Trait Objects section of the Reference: https://doc.rust-lang.org/reference/types.html#trait-objectsunit struct, unit variant or constantunexpected pattern resolution: you may want to move the range into the match block` is interpreted as , not a new bindingbind the struct field to a different name insteadconstants only support matching by type, if you meant to match against a range of values, consider using a range pattern like `min ..= max` in the match blockother_introduce a new binding insteadunexpected resolution for path pattern: tuple struct or tuple variantunexpected pattern type this pattern has field, but the corresponding has expected missing parenthesesuse `_` to explicitly ignore each fielduse `..` to ignore the rest of the fieldsuse `..` to ignore all fields..struct pattern is not an ADTtuple variant `` written as struct variantuse the tuple variant pattern syntax instead, .. }`..` required with marked as non-exhaustiveadd `..` at the end of the field list to ignore all other fields` bound multiple times in the patternmultiple uses of `` in patternfirst use of `a field named `fields named these` has a field named `This error indicates that a struct pattern attempted to extract a nonexistent field from a struct. Struct fields are identified by the name used before the colon : so struct patterns should resemble the declaration of the struct type being matched. If you are using shorthand field patterns but want to refer to the struct field by a different name, you should rename it explicitly.pattern requires `..` due to inaccessible fieldsignore the inaccessible and unused fields`error_no_accessible_fields` called on non-struct pattern moresome fields are not explicitly listed not listedensure that all fields are mentioned explicitly by adding the suggested fieldsthe pattern is of type `` and the `non_exhaustive_omitted_patterns` attribute was found and inaccessible fieldsfields pattern does not mention and ignore the inaccessible fieldsinclude the missing field in the pattern