clippy_utils::source

Trait HasSession

Source
pub trait HasSession {
    // Required method
    fn sess(&self) -> &Session;
}

Required Methods§

Source

fn sess(&self) -> &Session

Implementations on Foreign Types§

Source§

impl HasSession for EarlyContext<'_>

Source§

fn sess(&self) -> &Session

Source§

impl HasSession for LateContext<'_>

Source§

fn sess(&self) -> &Session

Source§

impl HasSession for TyCtxt<'_>

Source§

fn sess(&self) -> &Session

Source§

impl HasSession for Session

Source§

fn sess(&self) -> &Session

Implementors§