about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/queries.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-16 19:18:31 +0200
committerGitHub <noreply@github.com>2024-10-16 19:18:31 +0200
commit2560453256dae97676859cff822a5a0c0c5317cc (patch)
tree559f6e4dc262f73fffa0da3636f4308b25c8d4a1 /compiler/rustc_interface/src/queries.rs
parent70477487b173768bb74ad9e1affae2e039b403e6 (diff)
parent67b85e2a1f4e7632e5805fcc6e6a6f53501dd357 (diff)
downloadrust-2560453256dae97676859cff822a5a0c0c5317cc.tar.gz
rust-2560453256dae97676859cff822a5a0c0c5317cc.zip
Rollup merge of #131686 - Urgau:fast-path-vis, r=lqd
Add fast-path when computing the default visibility

This PR adds (or more correctly re-adds the) fast-path when computing the default visibility, by taking advantage of the fact that the "interposable" requested visibility always return the "default" codegen visibility.

Should address the small regression observed in https://github.com/rust-lang/rust/pull/131111#issuecomment-2402273967.

r? `@lqd`
Diffstat (limited to 'compiler/rustc_interface/src/queries.rs')
0 files changed, 0 insertions, 0 deletions