Add ptr::Pointee
trait (for all types) and ptr::metadata
function
RFC: https://github.com/rust-lang/rfcs/pull/2580
This commit is contained in:
parent
9503ea19ed
commit
696b239f72
17 changed files with 349 additions and 10 deletions
|
@ -125,6 +125,9 @@ pub enum SelectionCandidate<'tcx> {
|
|||
/// Builtin implementation of `DiscriminantKind`.
|
||||
DiscriminantKindCandidate,
|
||||
|
||||
/// Builtin implementation of `Pointee`.
|
||||
PointeeCandidate,
|
||||
|
||||
TraitAliasCandidate(DefId),
|
||||
|
||||
/// Matching `dyn Trait` with a supertrait of `Trait`. The index is the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue