Rename Unsafe to Safety

This commit is contained in:
Santiago Pastorino
2024-05-17 14:17:48 -03:00
parent 2d89cee625
commit 6b46a919e1
115 changed files with 460 additions and 494 deletions

View File

@@ -15,7 +15,7 @@ pub enum PointerCoercion {
/// Go from a non-capturing closure to an fn pointer or an unsafe fn pointer.
/// It cannot convert a closure that requires unsafe.
ClosureFnPointer(hir::Unsafety),
ClosureFnPointer(hir::Safety),
/// Go from a mut raw pointer to a const raw pointer.
MutToConstPointer,