diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs index 877dc43fb7b9be10dcd8073d0bb6dbc8bc43d617..3279f2436220c9fa0a273fe9b0e504c640a5938c 100644 --- a/src/librustc_lint/builtin.rs +++ b/src/librustc_lint/builtin.rs @@ -1949,7 +1949,7 @@ fn ty_find_init_error<'tcx>( 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 =>