rustc_type_ir::inherent

Trait Span

Source
pub trait Span<I: Interner>:
    Copy
    + Debug
    + Hash
    + Eq
    + TypeFoldable<I> {
    // 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.

Implementors§