clippy_
utils
1.82.0
(f6e511eec 2024-10-15)
HasSession
Required Methods
sess
Implementations on Foreign Types
EarlyContext<'_>
LateContext<'_>
Session
TyCtxt<'_>
Implementors
In clippy_
utils::
source
Trait
clippy_utils
::
source
::
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
§