about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-02-25 01:11:09 +0300
committeronur-ozkan <work@onurozkan.dev>2024-03-20 00:12:00 +0300
commit81d7d7aabd5cdfb1e574a7ebae0b884e3aad8dea (patch)
tree7b003fbadf54c0ce043735b0557cfc5937b24ef5 /compiler/rustc_mir_build/src
parenta61bf3093eb57d6b63522d3ec1f4acceede0363b (diff)
downloadrust-81d7d7aabd5cdfb1e574a7ebae0b884e3aad8dea.tar.gz
rust-81d7d7aabd5cdfb1e574a7ebae0b884e3aad8dea.zip
resolve clippy errors
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_mir_build/src')
-rw-r--r--compiler/rustc_mir_build/src/build/matches/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/matches/mod.rs b/compiler/rustc_mir_build/src/build/matches/mod.rs
index e7808ff880b..d2cbbf9be32 100644
--- a/compiler/rustc_mir_build/src/build/matches/mod.rs
+++ b/compiler/rustc_mir_build/src/build/matches/mod.rs
@@ -229,7 +229,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
         span: Span,
         scrutinee_span: Span,
     ) -> BlockAnd<()> {
-        let scrutinee_span = scrutinee_span;
         let scrutinee_place =
             unpack!(block = self.lower_scrutinee(block, scrutinee_id, scrutinee_span));