about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2022-04-02 15:32:40 +0200
committerFlorian Diebold <flodiebold@gmail.com>2022-04-02 15:32:40 +0200
commitb898808a35c8f38ec795187ed79ca13f4bdf7848 (patch)
tree8abd962966283780a1a36cfccd9052302b9d17b6 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent5fe366c649728c4af44ba7c306ba8d1223581a08 (diff)
downloadrust-b898808a35c8f38ec795187ed79ca13f4bdf7848.tar.gz
rust-b898808a35c8f38ec795187ed79ca13f4bdf7848.zip
fix: Don't rely on lang items to find primitive impls
rustc has removed the use of lang items to mark the primitive impls, so
just look through the crate graph for them (this should be fine
performance-wise since we cache the crates that contain these impls).

Fixes #11876.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions