mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
c3c03f2f05
Add #[track_caller] to more panicking Cell functions Continuation of #74526 Adds the #[track_caller] attribute to almost all panicking Cell functions. The ones that borrow two Cells in their function body are spared, because the panic location helps pinpoint which of the two borrows failed. You'd need to have full debuginfo and backtraces enabled together with column info in order to be able to discern the cases. Column info in debuginfo is only available on non-Windows platforms. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |