HasSession
clippy_
utils
1.84.0-dev
HasSession
Required Methods
sess
Implementations on Foreign Types
EarlyContext<'_>
LateContext<'_>
Session
TyCtxt<'_>
Implementors
In clippy_
utils::
source
Structs
SourceFileRange
SourceText
Traits
HasSession
IntoSpan
SpanRange
SpanRangeExt
Functions
expand_past_previous_comma
expr_block
first_char_in_first_line
first_line_of_span
get_source_range
indent_of
is_present_in_source
line_span
map_range
position_before_rarrow
reindent_multiline
reindent_multiline_inner
snippet
snippet_block
snippet_block_with_applicability
snippet_block_with_context
snippet_indent
snippet_opt
snippet_with_applicability
snippet_with_applicability_sess
snippet_with_context
snippet_with_context_sess
str_literal_to_char_literal
trim_span
trim_start
walk_span_to_context
with_leading_whitespace
with_source_text
with_source_text_and_range
clippy_utils
::
source
Trait
HasSession
Copy item path
Settings
Help
Summary
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
§