Update Clippy by flip1995 · Pull Request #94329 · rust-lang/rust (original) (raw)

Specifically, change Ty from this:

pub type Ty<'tcx> = &'tcx TyS<'tcx>;

to this

pub struct Ty<'tcx>(Interned<'tcx, TyS<'tcx>>);

There are two benefits to this.

Much of this commit is boring churn. The interesting changes are in these files:

Specifically: