about summary refs log tree commit diff
path: root/tests/rustdoc/hidden-trait-struct-impls.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-05-06 16:28:41 +1000
committerGitHub <noreply@github.com>2025-05-06 16:28:41 +1000
commit7ea335090202b4ccf634923f25b2a90072a08cbf (patch)
tree2e6bf1e35118bd21464e220c3123269b23a97b6c /tests/rustdoc/hidden-trait-struct-impls.rs
parent7cd76052777a1f213b2c5630605d1911e8ae8f56 (diff)
parent0f81fca8ec623e849225a254ef6f639963ff54c0 (diff)
downloadrust-7ea335090202b4ccf634923f25b2a90072a08cbf.tar.gz
rust-7ea335090202b4ccf634923f25b2a90072a08cbf.zip
Rollup merge of #140532 - celinval:chores-smir-ra, r=oli-obk
Fix RustAnalyzer discovery of rustc's `stable_mir` crate

This fixes issues with RustAnalyzer not finding `stable_mir` crate since RA discovery traverses the dependency graph of `rustc_driver` crate.

This change also aligns with the long term architecture plan for these crates, since we are moving towards having stable_mir depend on rustc_smir and not the other way around. See [this doc](https://hackmd.io/jBRkZLqAQL2EVgwIIeNMHg) for more details.

I believe a similar function will come handy eventually for `stable_mir` users, but I'm keeping it as part of `rustc_internal` since its current format initializes the StableMir context and requires `TyCtxt`.

Finally, I added the `rustc_internal` module re-export under a feature since the APIs from this module shall not be stabilized.
Diffstat (limited to 'tests/rustdoc/hidden-trait-struct-impls.rs')
0 files changed, 0 insertions, 0 deletions