rust/compiler/rustc_codegen_ssa/src
bors eb1a5c9bb3 Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726
Rename Unsafe to Safety

Alternative to #124455, which is to just have one Safety enum to use everywhere, this opens the posibility of adding `ast::Safety::Safe` that's useful for unsafe extern blocks.

This leaves us today with:

```rust
enum ast::Safety {
    Unsafe(Span),
    Default,
    // Safe (going to be added for unsafe extern blocks)
}

enum hir::Safety {
    Unsafe,
    Safe,
}
```

We would convert from `ast::Safety::Default` into the right Safety level according the context.
2024-05-18 19:35:24 +00:00
..
back rustc: Don't pass -fuse-ld=lld on wasm targets 2024-05-03 19:47:15 -07:00
debuginfo Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
mir Fix ICE in non-operand aggregate_raw_ptr instrinsic codegen 2024-05-16 09:43:42 -07:00
traits Fix assertion when attempting to convert f16 and f128 with as 2024-05-16 04:07:02 -05:00
assert_module_sources.rs Rename IntoDiagnosticArg as IntoDiagArg. 2024-03-11 09:12:19 +11:00
base.rs Refactoring after the PlaceValue addition 2024-05-10 20:09:37 -07:00
codegen_attrs.rs Rename Unsafe to Safety 2024-05-17 18:33:37 -03:00
common.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
errors.rs remove extraneous note on UnableToRunDsymutil diagnostic 2024-04-26 17:24:06 +00:00
lib.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
meth.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
mono_item.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
size_of_val.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
target_features.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00