We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f6b6a commit 877da4aCopy full SHA for 877da4a
hir/src/pass.rs
@@ -153,28 +153,6 @@ impl Print {
153
}
154
155
156
-impl Pass for Print {
157
- type Target = crate::Operation;
158
-
159
- fn name(&self) -> &'static str {
160
- "print"
161
- }
162
163
- fn can_schedule_on(&self, _name: &crate::OperationName) -> bool {
164
- true
165
166
167
- fn run_on_operation(
168
- &mut self,
169
- op: crate::EntityMut<'_, Self::Target>,
170
- _state: &mut PassExecutionState,
171
- ) -> Result<IRAfterPass, crate::Report> {
172
- let op = op.into_entity_ref();
173
- self.print_ir(op);
174
- Ok(IRAfterPass::Unchanged)
175
176
-}
177
178
impl PassInstrumentation for Print {
179
fn run_after_pass(
180
&mut self,
0 commit comments