mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
json | ||
markdown | ||
annotate_snippet_emitter_writer.rs | ||
diagnostic_builder.rs | ||
diagnostic_impls.rs | ||
diagnostic.rs | ||
emitter.rs | ||
error.rs | ||
json.rs | ||
lib.rs | ||
lock.rs | ||
registry.rs | ||
snippet.rs | ||
styled_buffer.rs | ||
tests.rs | ||
translation.rs |