about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-03-26 14:11:48 +0000
committerbors <bors@rust-lang.org>2025-03-26 14:11:48 +0000
commit19cab6b878ab18dce4816d85ac52b317214c485f (patch)
tree7fc296a2e995079441d8da0d2b9c50bd21eedbe5 /compiler/rustc_lint/src/lib.rs
parentf1bc669636023c8643602431791c7f26e5a6edef (diff)
parent07328d5d408f707f92c4208cb5d4042af981ff43 (diff)
downloadrust-19cab6b878ab18dce4816d85ac52b317214c485f.tar.gz
rust-19cab6b878ab18dce4816d85ac52b317214c485f.zip
Auto merge of #130324 - petrochenkov:ctxtache, r=oli-obk
hygiene: Ensure uniqueness of `SyntaxContextData`s

`SyntaxContextData`s are basically interned with `SyntaxContext`s working as indices, so they are supposed to be unique.
However, currently duplicate `SyntaxContextData`s can be created during decoding from metadata or incremental cache.
This PR fixes that.

cc https://github.com/rust-lang/rust/pull/129827#discussion_r1759074553
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
0 files changed, 0 insertions, 0 deletions