diff options
| author | Ralf Jung <post@ralfj.de> | 2022-09-20 11:33:16 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-10-05 09:22:50 +0200 |
| commit | a0131f0a369dcb44c855d0ce483744e6efaa3df8 (patch) | |
| tree | 4bfc1ea307591124a46d6756712ae28e69ffd8b1 /compiler/rustc_const_eval/src/util/mod.rs | |
| parent | 02cd79afb8080fce8c8ce35533c54d8ecf8f390e (diff) | |
| download | rust-a0131f0a369dcb44c855d0ce483744e6efaa3df8.tar.gz rust-a0131f0a369dcb44c855d0ce483744e6efaa3df8.zip | |
change might_permit_raw_init to fully detect LLVM UB, but not more than that
Diffstat (limited to 'compiler/rustc_const_eval/src/util/mod.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/util/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/util/mod.rs b/compiler/rustc_const_eval/src/util/mod.rs index a1876bed83e..7a05cfd235f 100644 --- a/compiler/rustc_const_eval/src/util/mod.rs +++ b/compiler/rustc_const_eval/src/util/mod.rs @@ -3,8 +3,10 @@ mod alignment; mod call_kind; pub mod collect_writes; mod find_self_call; +mod might_permit_raw_init; pub use self::aggregate::expand_aggregate; pub use self::alignment::is_disaligned; pub use self::call_kind::{call_kind, CallDesugaringKind, CallKind}; pub use self::find_self_call::find_self_call; +pub use self::might_permit_raw_init::might_permit_raw_init; |
