diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-04 11:44:37 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-04 16:09:31 +1100 |
| commit | 8388112970288c79ddb217949070cfb04c2798a5 (patch) | |
| tree | 6b1151f8c5177ea8ec0855d21101d6201f828081 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 8e6bca63f943a061264aec986446fac67c59c262 (diff) | |
| download | rust-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
