mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
26f4b72724
Use `Freeze` for `SourceFile` This uses the `Freeze` type in `SourceFile` to let accessing `external_src` and `lines` be lock-free. Behavior of `add_external_src` is changed to set `ExternalSourceKind::AbsentErr` on a hash mismatch which matches the documentation. `ExternalSourceKind::Unneeded` was removed as it's unused. Based on https://github.com/rust-lang/rust/pull/115401. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |