diff options
| author | Yang Lin <yanglin@smail.nju.edu.cn> | 2025-03-16 23:43:17 +0800 |
|---|---|---|
| committer | Yang Lin <yanglin@smail.nju.edu.cn> | 2025-03-16 23:43:17 +0800 |
| commit | 9a2d1fdb141ec2db9be1802316c66722f7b678f8 (patch) | |
| tree | f2bdd039853725b64778858fdfbb2ce6bbfc765c /src/doc/rustc-dev-guide/examples/rustc-interface-example.rs | |
| parent | a4b76e31f8f906e31256b2c8f696e39b2ee36c41 (diff) | |
| download | rust-9a2d1fdb141ec2db9be1802316c66722f7b678f8.tar.gz rust-9a2d1fdb141ec2db9be1802316c66722f7b678f8.zip | |
Following commit 401dd84 in the Rust project
(https://github.com/rust-lang/rust), `ErrorGuaranteed` was replaced by fatal errors. As a result, `tcx.analysis()` now aborts directly instead of returning an error guard. To accommodate this change, this update replaces `tcx.analysis()` with `typeck()` to perform type checking in the example.
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/rustc-interface-example.rs')
0 files changed, 0 insertions, 0 deletions
