The warning diagnostics of the usage of std::intrinsics::copy_nonoverlapping
is misleading
#139505
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Either
or
this function should be added into
std::mem
module.Rationale and extra context
No response
Other cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: