about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/examples/rustc-interface-getting-diagnostics.rs
diff options
context:
space:
mode:
authorYang Lin <yanglin@smail.nju.edu.cn>2025-03-16 23:27:10 +0800
committerYang Lin <yanglin@smail.nju.edu.cn>2025-03-16 23:27:10 +0800
commita4b76e31f8f906e31256b2c8f696e39b2ee36c41 (patch)
tree6f2bc8e8cf2ed8a77ddc4a89c111ddbc0e263a19 /src/doc/rustc-dev-guide/examples/rustc-interface-getting-diagnostics.rs
parentb30d1970ab99dd31e3ba30bd6dcf815b3fc75aee (diff)
downloadrust-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