about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-06-04 11:06:42 +0200
committerGitHub <noreply@github.com>2022-06-04 11:06:42 +0200
commit9917f3816adce6089c90138eaf7d61213354e5fc (patch)
tree00bd01d6dde1cf98870a2bbb2dd029f5c08bdd47 /compiler/rustc_codegen_llvm/src
parent9c794b46cf56c6617d84fc264dc1784636fa71c3 (diff)
parent15cccb97d60a19fc7120bb57840a83bdcc90dbad (diff)
downloadrust-9917f3816adce6089c90138eaf7d61213354e5fc.tar.gz
rust-9917f3816adce6089c90138eaf7d61213354e5fc.zip
Rollup merge of #97716 - compiler-errors:issue-97708, r=wesleywiser
Fix reachability analysis for const methods

Use `method_might_be_inlined` directly for `ImplItemKind::Fn` instead of duplicating the logic in `def_id_represents_local_inlined_item`.

This is parallel to how we use `item_might_be_inlined` for `ItemKind::Fn` in that same body.

Fixes #97708
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions