diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-06 20:08:29 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-13 03:45:04 +0000 |
| commit | 516afd557c521eae3a64882b93d32772f3e2fa45 (patch) | |
| tree | c102e77323e1271ca98ac99d12978a7e1a8a1198 /compiler/rustc_middle/src/traits | |
| parent | c72d443cddc78ce239d3a7abc57864bf617bdf2d (diff) | |
Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
Diffstat (limited to 'compiler/rustc_middle/src/traits')
| -rw-r--r-- | compiler/rustc_middle/src/traits/select.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/traits/select.rs b/compiler/rustc_middle/src/traits/select.rs index b7cd545d02d..811bd8fb458 100644 --- a/compiler/rustc_middle/src/traits/select.rs +++ b/compiler/rustc_middle/src/traits/select.rs @@ -168,6 +168,8 @@ pub enum SelectionCandidate<'tcx> { BuiltinObjectCandidate, BuiltinUnsizeCandidate, + + BikeshedGuaranteedNoDropCandidate, } /// The result of trait evaluation. The order is important |
