about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-08 21:24:50 +0100
committerGitHub <noreply@github.com>2023-03-08 21:24:50 +0100
commit9b6b7a3e84f2f509149e00b6ad30c0b46e88f0a3 (patch)
tree6be99cf2d6663cba464edc2d01a1df56b2863ae6 /compiler/rustc_hir_analysis/src/errors.rs
parent6c91ce27c3639b3b4b4b4c038dc535c02dc9dfbd (diff)
parent5eaeb71b9f0c27a3bfab666b3f5288c83c63eafe (diff)
downloadrust-9b6b7a3e84f2f509149e00b6ad30c0b46e88f0a3.tar.gz
rust-9b6b7a3e84f2f509149e00b6ad30c0b46e88f0a3.zip
Rollup merge of #108846 - celinval:smir-poc, r=oli-obk
StableMIR: Proof-of-concept implementation + test

This PR is part of the [project Stable MIR](https://github.com/rust-lang/project-stable-mir). The PR deletes old re-exports from rustc_smir and introduces a proof-of-concept implementation for APIs to retrieve crate information.

The implementation follows the [design described here](https://hackmd.io/XhnYHKKuR6-LChhobvlT-g?view), but instead of using separate crates for the implementation, it uses separate modules inside `rustc_smir`.

The API introduced at this point should be seen just as an example on how we are planning to structure the communication between tools and the compiler.

I have not explored yet what should be the right granularity, the best starting point for users, neither the best way to implement it.

r? ``````@oli-obk``````
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions