about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-01-29 10:52:24 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-01-31 08:36:30 +1100
commit483307f1271d798a51bb5e4fc8c9f7b731ad6e46 (patch)
tree148f80328033ba58b5fd65bdb48163d7b7777688 /compiler/rustc_errors/src/snippet.rs
parent29317604d1926e526ee89d86398ee6d26ef126a4 (diff)
downloadrust-483307f1271d798a51bb5e4fc8c9f7b731ad6e46.tar.gz
rust-483307f1271d798a51bb5e4fc8c9f7b731ad6e46.zip
Don't export `rustc_hir_analysis::collect`.
Instead re-export `rustc_hir_analysis::collect::suggest_impl_trait`,
which is the only thing from the module used in another crate. This
fixes a `FIXME` comment. Also adjust some visibilities to satisfy the
`unreachable_pub` lint.

This changes requires downgrading a link in a comment on `FnCtxt`
because `collect` is no longer public and rustdoc complains otherwise.
This is annoying but I can't see how to avoid it.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions