diff options
| author | Yang Lin <yanglin@smail.nju.edu.cn> | 2025-03-16 23:27:10 +0800 |
|---|---|---|
| committer | Yang Lin <yanglin@smail.nju.edu.cn> | 2025-03-16 23:27:10 +0800 |
| commit | a4b76e31f8f906e31256b2c8f696e39b2ee36c41 (patch) | |
| tree | 6f2bc8e8cf2ed8a77ddc4a89c111ddbc0e263a19 /src/doc/rustc-dev-guide/examples/rustc-interface-getting-diagnostics.rs | |
| parent | b30d1970ab99dd31e3ba30bd6dcf815b3fc75aee (diff) | |
| download | rust-a4b76e31f8f906e31256b2c8f696e39b2ee36c41.tar.gz rust-a4b76e31f8f906e31256b2c8f696e39b2ee36c41.zip | |
Adapt to rust-lang/rust#136466:
Start removing `rustc_middle::hir::map::Map` Following commit f86f7ad from pull request #136466 in the Rust project (https://github.com/rust-lang/rust), some methods in `Map` were moved to `TyCtxt`. This update reimplements `rustc-drive-example.rs`, `rustc-driver-interacting-with-the-ast.rs`, and `rustc-interface-example.rs` using the new versions of these methods, ensuring compatibility with the nightly-2025-03-08 toolchain.
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/rustc-interface-getting-diagnostics.rs')
0 files changed, 0 insertions, 0 deletions
