diff options
| author | bors <bors@rust-lang.org> | 2021-08-09 13:48:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-09 13:48:47 +0000 |
| commit | 14d2aa15828480be895ec528fdfb18388d68d5db (patch) | |
| tree | 69a65a7b59f7dbea96bd0ab6973d3cabe7dd20f8 /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff | |
| parent | 0084195dee22d498291d92603d18f2f79946671f (diff) | |
| parent | ae700b42ed56e735ee813b03b53fcd44d1a662e9 (diff) | |
| download | rust-14d2aa15828480be895ec528fdfb18388d68d5db.tar.gz rust-14d2aa15828480be895ec528fdfb18388d68d5db.zip | |
Auto merge of #7542 - LeSeulArtichaut:cleanups, r=flip1995
Cleanup usage of `span_to_snippet` and `LintContext::sess` - avoid using `SourceMap::span_to_snippet` directly and use `clippy_utils::source::snippet_opt` instead - don't use `LintContext::sess()` on `EarlyContext`s which have a `sess` field directly available, saving the import of `LintContext` changelog: none
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions
