about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-13 14:20:41 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-03-01 13:34:31 +1100
commitaec4bdb0a2802765ee90e4f59c9173f94f28f2eb (patch)
tree19829bc6c1a8033fc9c955fe71a83305f9469ac9 /compiler/rustc_errors/src/snippet.rs
parentc81767e7cb06dacc7bb9a5ec0b746b0c774e0aa1 (diff)
downloadrust-aec4bdb0a2802765ee90e4f59c9173f94f28f2eb.tar.gz
rust-aec4bdb0a2802765ee90e4f59c9173f94f28f2eb.zip
Move `Expect`/`ForceWarning` handling into the `match`.
Note that `self.suppressed_expected_diag` is no longer set for
`ForceWarning`, which is good. Nor is `TRACK_DIAGNOSTIC` called for
`Allow`, which is also good.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions