gccrs: intrinsics: Always warn on assert_zero_valid<T>
Rust-GCC now warns about incomplete implementation of assert_zero_valid<T> intrinsic.
This commit improves error reporting for the assert_zero_valid<T> intrinsic in Rust-GCC. Currently, this intrinsic is not fully implemented and often acts as a no-op. The change ensures that the compiler always emits a warning indicating that the intrinsic is not fully functional, prompting developers to address the missing cases and paving the way for future implementation.
In Details
The assert_zero_valid_handler in gccrs's intrinsic handlers now consistently emits a warning when invoked. This acknowledges that the implementation is incomplete, acting as a no-op in many cases, and aligns with the effort to eventually implement the intrinsic fully, starting with simpler cases like uninhabited types.