diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2024-05-17 14:17:48 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2024-05-17 18:33:37 -0300 |
| commit | 6b46a919e1fe92c7d5bc58d26d2ad7a54d09a927 (patch) | |
| tree | 40f75ce4dfd65969606a5f786e56edd5cef109a8 /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | 2d89cee6258ed0029268ef33e13cc63e433bd243 (diff) | |
| download | rust-6b46a919e1fe92c7d5bc58d26d2ad7a54d09a927.tar.gz rust-6b46a919e1fe92c7d5bc58d26d2ad7a54d09a927.zip | |
Rename Unsafe to Safety
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs index e9c7606dc5a..07473ee476b 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -365,7 +365,7 @@ fn push_debuginfo_type_name<'tcx>( } output.push_str(" (*)("); } else { - output.push_str(sig.unsafety.prefix_str()); + output.push_str(sig.safety.prefix_str()); if sig.abi != rustc_target::spec::abi::Abi::Rust { output.push_str("extern \""); |
