Rollup merge of #138041 - thaliaarchi:use-prelude-size-of.boostrap-compiletest, r=jieyouxu

bootstrap and compiletest: Use `size_of_val` from the prelude instead of imported

Use `std::mem::size_of_val` from the prelude instead of importing or qualifying it.

This function was added to all preludes in Rust 1.80.

r? ``@jieyouxu``
This commit is contained in:
Michael Goulet 2025-03-06 15:40:01 -05:00 committed by GitHub
commit c1a280f983
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available