rustc_middle::ty::inherent

Trait Span

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

Required Methods§

source

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§