361791bb5f
Suggest borrowing when it would satisfy an unmet trait bound When there are multiple implementors for the same trait that is present in an unmet binding, modify the E0277 error to refer to the parent obligation and verify whether borrowing the argument being passed in would satisfy the unmet bound. If it would, suggest it. Fix #56368. |
||
---|---|---|
.. | ||
benches | ||
dep_graph | ||
hir | ||
ich | ||
infer | ||
lint | ||
middle | ||
mir | ||
query | ||
session | ||
traits | ||
ty | ||
util | ||
arena.rs | ||
build.rs | ||
Cargo.toml | ||
lib.rs | ||
macros.rs | ||
README.md | ||
tests.rs |
For more information about how rustc works, see the rustc guide.