Closed
Description
There are a bunch of places in the libs and compiler where we use a trivial case where type ascription would be more appropriate. These currently require #![allow(trivial_casts)]
. Without that we get a warning (and an error when bootstrapping). When type ascription lands these should be converted to use that. E.g., *self as *const T
should become *self: *const T
.