about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-01-04 11:44:37 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-01-04 16:09:31 +1100
commit8388112970288c79ddb217949070cfb04c2798a5 (patch)
tree6b1151f8c5177ea8ec0855d21101d6201f828081 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent8e6bca63f943a061264aec986446fac67c59c262 (diff)
downloadrust-8388112970288c79ddb217949070cfb04c2798a5.tar.gz
rust-8388112970288c79ddb217949070cfb04c2798a5.zip
Remove `is_lint` field from `Level::Error`.
Because it's redundant w.r.t. `Diagnostic::is_lint`, which is present
for every diagnostic level.

`struct_lint_level_impl` was the only place that set the `Error` field
to `true`, and it's also the only place that calls
`Diagnostic::is_lint()` to set the `is_lint` field.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions