Trait rustc_middle::ty::inherent::Unsafety

source ·
pub trait Unsafety<I>: Copy + Debug + Hash + Eq
where I: Interner<Unsafety = Self>,
{ // Required method fn prefix_str(self) -> &'static str; }

Required Methods§

source

fn prefix_str(self) -> &'static str

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'tcx> Unsafety<TyCtxt<'tcx>> for Unsafety

source§

fn prefix_str(self) -> &'static str

Implementors§