mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-22 12:58:58 +00:00

Skipping verbose diagnostic suggestions when calling .as_ref() on type not implementing AsRef Addresses #89806 Skipping suggestions when calling `.as_ref()` for types that do not implement the `AsRef` trait. r? `@estebank`
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.