about summary refs log tree commit diff
path: root/compiler/rustc_attr_parsing/src/attributes/inline.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-28 16:38:15 +0000
committerbors <bors@rust-lang.org>2025-07-28 16:38:15 +0000
commite3514bde96d2d13586337a48db77fa64b850d249 (patch)
tree4b7ae3db59d7fc366645a22c922598df2970357d /compiler/rustc_attr_parsing/src/attributes/inline.rs
parent9ba00e0f9e00990fb88c1beac7172afe93b15609 (diff)
parentcdcfdd1a1b3f267a98c693fc03b4411934b60674 (diff)
downloadrust-e3514bde96d2d13586337a48db77fa64b850d249.tar.gz
rust-e3514bde96d2d13586337a48db77fa64b850d249.zip
Auto merge of #144377 - camsteffen:simplify-impl-of-method, r=fee1-dead
Rename impl_of_method and trait_of_item

This PR used to tweak the implementation of impl_of_method, but that introduced a perf regression.

Rename impl_of_method and trait_of_item to impl_of_assoc and trait_of_assoc respectively. This reflects how the two functions are closely related. And it reflects the behavior more accurately as the functions check whether the input is an associated item.
Diffstat (limited to 'compiler/rustc_attr_parsing/src/attributes/inline.rs')
0 files changed, 0 insertions, 0 deletions