Files
rust/library/coretests
Jacob Pratt 5d3c4fbcd3 Rollup merge of #156832 - hanna-kruppe:consistent-strict-provenance-lints, r=jhpratt
library: use strict provenance lints consistently

The `fuzzy_provenance_casts` lint is enabled in most of the standard library, but its identical twin `lossy_provenance_casts` was not. As discussed in the tracking issue for those lints, there doesn't seem to be any good reason to enable one without the other. This PR applies this principle and as a result removes some unnecessary ptr->int `as` casts.

It's also preparation for merging the two lints, which removes the option of only enabling `fuzzy_provenance_casts`.

Tracking issue: rust-lang/rust#130351
2026-05-31 22:30:32 -04:00
..
…