rustc_middle::ty::inherent

Trait Span

pub trait Span<I>:
    Copy
    + Debug
    + Hash
    + Eq
    + TypeFoldable<I>
where I: Interner,
{ // Required method fn dummy() -> Self; }

Required Methods§

fn dummy() -> Self

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> Span<TyCtxt<'tcx>> for Span

Source§

fn dummy() -> Self

Implementors§