clippy_
utils
1.83.0
(90b35a623 2024-11-26)
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
§