about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-06 13:00:33 +0000
committerbors <bors@rust-lang.org>2023-05-06 13:00:33 +0000
commitdd9df18792cd13b25a54406ef60e3b32ac358272 (patch)
tree2af71bec13b2ded6d309534b187dc1685b0ba639 /compiler/rustc_hir_analysis/src/structured_errors.rs
parent457a7a83c13fd803b47a5842686cee13eba47d6e (diff)
parent0677cd04450a9492277599eca1d875ff00518c28 (diff)
downloadrust-dd9df18792cd13b25a54406ef60e3b32ac358272.tar.gz
rust-dd9df18792cd13b25a54406ef60e3b32ac358272.zip
Auto merge of #2867 - Vanille-N:tb-diags, r=RalfJung
Simplify event selection in TB diagnostics

As discussed previously, getting the range from `RangeMap` can make the filtering of events much simpler without any user-visible diff.

See minor exception in [<9d8fc00>](https://github.com/rust-lang/miri/commit/9d8fc00a4a57dde06a9c42b809afed827c3b0d5c) and decide how to resolve it
- add a boolean flag not to record events produced by deallocations ?
- add a `help: deallocation counts as an implicit write` ? (Note: could be generalized to also include `help: reborrow counts as an implicit read`)
- not bother and keep as-is ?
- something else ?
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions