diff options
| author | Xiretza <xiretza@xiretza.xyz> | 2022-08-19 15:02:10 +0200 |
|---|---|---|
| committer | Xiretza <xiretza@xiretza.xyz> | 2022-08-21 09:17:43 +0200 |
| commit | a960f8304cee9af374aae7bade15554734f37480 (patch) | |
| tree | ebeae37fbf28a5735cb96eca6c9eedc0c9e83f74 /compiler/rustc_const_eval/src | |
| parent | 91ad4e38f53ce1ef8783233bde36a81cd8177981 (diff) | |
| download | rust-a960f8304cee9af374aae7bade15554734f37480.tar.gz rust-a960f8304cee9af374aae7bade15554734f37480.zip | |
Make derived SessionDiagnostics generic on diagnostic level
Deriving SessionDiagnostic on a type no longer forces that diagnostic to be one of warning, error, or fatal. The level is instead decided when the struct is passed to the respective Handler::emit_*() method.
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions
