clippy_
utils
1.85.0-nightly
(bdc6b3de4 2024-12-23)
HasSession
Required Methods
sess
Implementations on Foreign Types
EarlyContext<'_>
LateContext<'_>
Session
TyCtxt<'_>
Implementors
In clippy_
utils::
source
clippy_utils
::
source
Trait
HasSession
Copy item path
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
§