about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-05-27 13:21:38 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-06-02 22:53:41 -0700
commit9ed7cfc952b06fb4e552fb02bbd65070e56cfdc0 (patch)
treefe73cddb73ea5fd151c2183350541aef6e6a7da4 /compiler/rustc_interface/src/errors.rs
parent2d0ebca9798f76ff5ff1ef171cdf73fb5c8d7127 (diff)
downloadrust-9ed7cfc952b06fb4e552fb02bbd65070e56cfdc0.tar.gz
rust-9ed7cfc952b06fb4e552fb02bbd65070e56cfdc0.zip
Add "OnceList" example to motivate OnceLock
While slightly verbose, it helps explain "why bother with OnceLock?"
This is a point of confusion that has been raised multiple times
shortly before and after the stabilization of LazyLock.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions