We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421d54e commit 588530dCopy full SHA for 588530d
compiler/rustc_middle/src/mir/query.rs
@@ -19,7 +19,7 @@ use super::{Field, SourceInfo};
19
20
#[derive(Copy, Clone, PartialEq, TyEncodable, TyDecodable, HashStable, Debug)]
21
pub enum UnsafetyViolationKind {
22
- /// Unsafe operation outside `unsafe`
+ /// Unsafe operation outside `unsafe`.
23
General,
24
/// Unsafe operation in an `unsafe fn` but outside an `unsafe` block.
25
/// Has to be handled as a lint for backwards compatibility.
0 commit comments