Enum proc_macro::Level [−][src]
#[non_exhaustive] pub enum Level { Error, Warning, Note, Help, }
Expand description
代表诊断级别的枚举。
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
一个错误。
一个警告。
一条消息。
一条帮助消息。