Skip to content

Migrate transmute tests#154425

Draft
ujjwalvishwakarma2006 wants to merge 4 commits intorust-lang:mainfrom
ujjwalvishwakarma2006:migrate-transmute-tests
Draft

Migrate transmute tests#154425
ujjwalvishwakarma2006 wants to merge 4 commits intorust-lang:mainfrom
ujjwalvishwakarma2006:migrate-transmute-tests

Conversation

@ujjwalvishwakarma2006
Copy link
Contributor

I have made the following changes in this PR:

  • renamed: tests/ui/issues/issue-28625.rstests/ui/transmute/transmute-associated-type-to-slice.rs
  • renamed: tests/ui/issues/issue-28625.stderrtests/ui/transmute/transmute-associated-type-to-slice.stderr
  • renamed: tests/ui/issues/issue-23477.rstests/ui/transmute/transmute-slice-to-dst.rs

The reason I changed the trait name from trait Bar to trait MyTrait and type Bar to type MyType is that the same name (i.e., Bar) for the trait and associated type was making it harder to follow the test. It was confusing for me, at least.

As the policy says to disclose the use of LLMs.
I used LLMs a bit to understand the code. Here are the links to chats:

r? Kivooeo

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants