Check const Drop impls considering ConstIfConst bounds
This commit is contained in:
parent
f9eb0b3b7b
commit
6ed42a7ca4
7 changed files with 227 additions and 167 deletions
|
@ -146,8 +146,8 @@ pub enum SelectionCandidate<'tcx> {
|
|||
|
||||
BuiltinUnsizeCandidate,
|
||||
|
||||
/// Implementation of `const Drop`.
|
||||
ConstDropCandidate,
|
||||
/// Implementation of `const Drop`, optionally from a custom `impl const Drop`.
|
||||
ConstDropCandidate(Option<DefId>),
|
||||
}
|
||||
|
||||
/// The result of trait evaluation. The order is important
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue