rustc_middle::ty::inherent

Trait Features

pub trait Features<I>: Copy
where I: Interner,
{ // Required methods fn generic_const_exprs(self) -> bool; fn coroutine_clone(self) -> bool; fn associated_const_equality(self) -> bool; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'tcx> Features<TyCtxt<'tcx>> for &'tcx Features

Implementors§