We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stable_mir::mir::visit.rs
1 parent ce6b596 commit 564b28aCopy full SHA for 564b28a
compiler/stable_mir/src/mir/visit.rs
@@ -436,8 +436,6 @@ macro_rules! super_body {
436
macro_rules! visit_place_fns {
437
(mut) => {
438
fn super_place(&mut self, place: &mut Place, ptx: PlaceContext, location: Location) {
439
- let _ = location;
440
- let _ = ptx;
441
self.visit_local(&mut place.local, ptx, location);
442
443
for elem in place.projection.iter_mut() {
@@ -478,8 +476,6 @@ macro_rules! visit_place_fns {
478
476
479
477
() => {
480
fn super_place(&mut self, place: &Place, ptx: PlaceContext, location: Location) {
481
482
483
self.visit_local(&place.local, ptx, location);
484
485
for (idx, elem) in place.projection.iter().enumerate() {
0 commit comments