Skip to content

Recognize Iterator trait via DefId, not def path.#1039

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

Recognize Iterator trait via DefId, not def path.#1039
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_916314962

Conversation

@copybara-service
Copy link
Copy Markdown

Recognize Iterator trait via DefId, not def path.

In Chromium tcx.def_path_str may return core::iter::Iterator
and fail the old checks. The DefId-based checks should be
more robust.

In Chromium `tcx.def_path_str` may return `core::iter::Iterator`
and fail the old checks.  The `DefId`-based checks should be
more robust.

PiperOrigin-RevId: 916314962
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