mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-22 12:37:32 +00:00
![]() Improve the diagnostics for unused generic parameters * Don't emit two errors (namely E0091 *and* E0392) for unused type parameters on *lazy* type aliases * Fix the diagnostic help message of E0392 for *lazy* type aliases: Don't talk about the “fields” of lazy type aliases (use the term “body” instead) and don't suggest `PhantomData` for them, it doesn't make much sense * Consolidate the diagnostics for E0091 (unused type parameters in type aliases) and E0392 (unused generic parameters due to bivariance) and make it translatable * Still keep the error codes distinct (for now) * Naturally leads to better diagnostics for E0091 r? ```@oli-obk``` (to ballast your review load :P) or compiler |
||
---|---|---|
.. | ||
compare_impl_item | ||
check.rs | ||
compare_impl_item.rs | ||
dropck.rs | ||
entry.rs | ||
errs.rs | ||
intrinsic.rs | ||
intrinsicck.rs | ||
mod.rs | ||
region.rs | ||
wfcheck.rs |