-
Notifications
You must be signed in to change notification settings - Fork 14k
Rename downcast_[ref|mut]_unchecked -> downcast_unchecked_[ref|mut]
#148079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
|
rustbot has assigned @Mark-Simulacrum. Use |
|
Kept these names consistent in |
|
Please squash, since revert commits defeat the purpose of submitting changes upstream. |
Undo rust-analyzer changes
Done! Thanks @lnicola 🙏 |
|
@bors r+ rollup |
Rename `downcast_[ref|mut]_unchecked` -> `downcast_unchecked_[ref|mut]` ## Intent Renames `downcast_[ref|mut]_unchecked` to `downcast_unchecked_[ref|mut]` because we want to emphasise that it is the downcast that is unsafe, not the aliasing per: rust-lang#90850 (comment) ## Tracking Issue: rust-lang#90850 (comment) cc `@marc0246`
Intent
Renames
downcast_[ref|mut]_uncheckedtodowncast_unchecked_[ref|mut]because we want to emphasise that it is the downcast that is unsafe, not the aliasing per:#90850 (comment)
Tracking Issue: #90850 (comment)
cc @marc0246