about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2022-08-19 15:02:10 +0200
committerXiretza <xiretza@xiretza.xyz>2022-08-21 09:17:43 +0200
commita960f8304cee9af374aae7bade15554734f37480 (patch)
treeebeae37fbf28a5735cb96eca6c9eedc0c9e83f74 /compiler/rustc_const_eval/src
parent91ad4e38f53ce1ef8783233bde36a81cd8177981 (diff)
downloadrust-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