about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-24 00:42:46 +0000
committerbors <bors@rust-lang.org>2023-08-24 00:42:46 +0000
commitc9db1f804bd324d8803afcb37028f1a0ef7b8992 (patch)
treeda3e3bc15956a9520f103bc198dcdd262af6062a /compiler/rustc_errors/src/json.rs
parent441086879821d554ecdfde391e767d1a954fd5e2 (diff)
parent4170ca4be92f1a8e4bfd1d2815c12804710b7087 (diff)
downloadrust-c9db1f804bd324d8803afcb37028f1a0ef7b8992.tar.gz
rust-c9db1f804bd324d8803afcb37028f1a0ef7b8992.zip
Auto merge of #115012 - Zoxc:thir-check-root, r=cjgillot
Ensure that THIR unsafety check is done before stealing it

This ensures that THIR unsafety check is done before stealing it by running it on the typeck root instead of on a closure, which does nothing.

Fixes https://github.com/rust-lang/rust/issues/111520
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions