mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Add |
to make the html doc of Level
rendered correctly
This commit is contained in:
parent
91376f4162
commit
8557b56ec7
@ -1837,23 +1837,23 @@ impl DelayedDiagInner {
|
||||
}
|
||||
}
|
||||
|
||||
/// Level is_error EmissionGuarantee Top-level Sub Used in lints?
|
||||
/// ----- -------- ----------------- --------- --- --------------
|
||||
/// Bug yes BugAbort yes - -
|
||||
/// Fatal yes FatalAbort/FatalError(*) yes - -
|
||||
/// Error yes ErrorGuaranteed yes - yes
|
||||
/// DelayedBug yes ErrorGuaranteed yes - -
|
||||
/// ForceWarning - () yes - lint-only
|
||||
/// Warning - () yes yes yes
|
||||
/// Note - () rare yes -
|
||||
/// OnceNote - () - yes lint-only
|
||||
/// Help - () rare yes -
|
||||
/// OnceHelp - () - yes lint-only
|
||||
/// FailureNote - () rare - -
|
||||
/// Allow - () yes - lint-only
|
||||
/// Expect - () yes - lint-only
|
||||
/// | Level | is_error | EmissionGuarantee | Top-level | Sub | Used in lints?
|
||||
/// | ----- | -------- | ----------------- | --------- | --- | --------------
|
||||
/// | Bug | yes | BugAbort | yes | - | -
|
||||
/// | Fatal | yes | FatalAbort/FatalError[^star] | yes | - | -
|
||||
/// | Error | yes | ErrorGuaranteed | yes | - | yes
|
||||
/// | DelayedBug | yes | ErrorGuaranteed | yes | - | -
|
||||
/// | ForceWarning | - | () | yes | - | lint-only
|
||||
/// | Warning | - | () | yes | yes | yes
|
||||
/// | Note | - | () | rare | yes | -
|
||||
/// | OnceNote | - | () | - | yes | lint-only
|
||||
/// | Help | - | () | rare | yes | -
|
||||
/// | OnceHelp | - | () | - | yes | lint-only
|
||||
/// | FailureNote | - | () | rare | - | -
|
||||
/// | Allow | - | () | yes | - | lint-only
|
||||
/// | Expect | - | () | yes | - | lint-only
|
||||
///
|
||||
/// (*) `FatalAbort` normally, `FatalError` in the non-aborting "almost fatal" case that is
|
||||
/// [^star]: `FatalAbort` normally, `FatalError` in the non-aborting "almost fatal" case that is
|
||||
/// occasionally used.
|
||||
///
|
||||
#[derive(Copy, PartialEq, Eq, Clone, Hash, Debug, Encodable, Decodable)]
|
||||
|
Loading…
Reference in New Issue
Block a user