Auto merge of #119955 - kamalesh0406:master, r=WaffleLapkin

Modify GenericArg and Term structs to use strict provenance rules

This is the first PR to solve issue #119217 . In this PR, I have modified the GenericArg struct to use the `NonNull` struct as the pointer instead of `NonZeroUsize`. The change were tested by running `./x test compiler/rustc_middle`.

Resolves https://github.com/rust-lang/rust/issues/119217

r? `@WaffleLapkin`
This commit is contained in:
bors 2024-01-25 07:22:58 +00:00
commit a1fa12d0d2

Diff content is not available