diff options
| author | Ralf Jung <post@ralfj.de> | 2019-08-17 13:42:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-17 13:42:03 +0200 |
| commit | 4821663a2bd2ef6c8fbc9c3f24a00371e71d419a (patch) | |
| tree | 86be3ce33b4eff6f02e2667e28f71cb75600b93e | |
| parent | a9efa738ab4e9517a86314f5c0787efef7d8e2a9 (diff) | |
Full stop
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
| -rw-r--r-- | src/librustc_lint/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs index 877dc43fb7b..3279f243622 100644 --- a/src/librustc_lint/builtin.rs +++ b/src/librustc_lint/builtin.rs @@ -1949,7 +1949,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for InvalidValue { Adt(..) if ty.is_box() => Some((format!("`Box` must be non-null"), None)), FnPtr(..) => Some((format!("Function pointers must be non-null"), None)), Never => Some((format!("The never type (`!`) has no valid value"), None)), - // Primitive types with other constraints + // Primitive types with other constraints. Bool if init == InitKind::Uninit => Some((format!("Booleans must be `true` or `false`"), None)), Char if init == InitKind::Uninit => |
