Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 564b28a

Browse files
committedMar 16, 2025
remove unnecessary underscores in stable_mir::mir::visit.rs
1 parent ce6b596 commit 564b28a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎compiler/stable_mir/src/mir/visit.rs

-4
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,6 @@ macro_rules! super_body {
436436
macro_rules! visit_place_fns {
437437
(mut) => {
438438
fn super_place(&mut self, place: &mut Place, ptx: PlaceContext, location: Location) {
439-
let _ = location;
440-
let _ = ptx;
441439
self.visit_local(&mut place.local, ptx, location);
442440

443441
for elem in place.projection.iter_mut() {
@@ -478,8 +476,6 @@ macro_rules! visit_place_fns {
478476

479477
() => {
480478
fn super_place(&mut self, place: &Place, ptx: PlaceContext, location: Location) {
481-
let _ = location;
482-
let _ = ptx;
483479
self.visit_local(&place.local, ptx, location);
484480

485481
for (idx, elem) in place.projection.iter().enumerate() {

0 commit comments

Comments
 (0)
Failed to load comments.