Skip to content

Ensure that substs of layout-compatible generics are layout-compatible#1435

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_947858435
Open

Ensure that substs of layout-compatible generics are layout-compatible#1435
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_947858435

Conversation

@copybara-service

Copy link
Copy Markdown

Ensure that substs of layout-compatible generics are layout-compatible

Without this, we would incorrectly bridge types inside e.g. unique_ptr, resulting in cc_std::unique_ptr<Option<i32>> being translated as cc_std::unique_ptr<std::optional<int32_t>> rather than cc_std::unique_ptr<rs_std::Option<i32>>.

Without this, we would incorrectly bridge types inside e.g. `unique_ptr`, resulting in `cc_std::unique_ptr<Option<i32>>` being translated as `cc_std::unique_ptr<std::optional<int32_t>>` rather than `cc_std::unique_ptr<rs_std::Option<i32>>`.

PiperOrigin-RevId: 947858435
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant