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§