Full stop

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
Ralf Jung
2019-08-17 13:42:03 +02:00
committed by GitHub
parent a9efa738ab
commit 4821663a2b
+1 -1
View File
@@ -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 =>