about summary refs log tree commit diff
path: root/compiler/rustc_macros/src/diagnostics/diagnostic_builder.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-23 15:20:18 +0530
committerGitHub <noreply@github.com>2022-10-23 15:20:18 +0530
commit0b3e018137fa911a3c67aec6be4d4d67c75cfee8 (patch)
treec9442434066d7ba74bdb37fa5577ec3fe74cc005 /compiler/rustc_macros/src/diagnostics/diagnostic_builder.rs
parent8440b09d1705c0c0120b7c6cb2c74d128136d2d4 (diff)
parentba4834c092ed524e7839d21ea40a644db6e6555f (diff)
downloadrust-0b3e018137fa911a3c67aec6be4d4d67c75cfee8.tar.gz
rust-0b3e018137fa911a3c67aec6be4d4d67c75cfee8.zip
Rollup merge of #103249 - petrochenkov:revaddids, r=oli-obk
resolve: Revert "Set effective visibilities for imports more precisely"

In theory the change was correct, but in practice the use of import items in HIR is limited and hacky, and it expects that (effective) visibilities for all (up to) 3 IDs of the import are set to the value reflecting (effective) visibility of the whole syntactic `use` item rather than its individual components.

Fixes https://github.com/rust-lang/rust/issues/102352
r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_macros/src/diagnostics/diagnostic_builder.rs')
0 files changed, 0 insertions, 0 deletions