Profile MIR passes.

This commit is contained in:
Camille GILLOT
2023-05-15 20:23:34 +00:00
parent 2913ad6db0
commit addc72799a
4 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ use rustc_session::config::OutputType;
pub struct Marker(pub &'static str);
impl<'tcx> MirPass<'tcx> for Marker {
fn name(&self) -> &str {
fn name(&self) -> &'static str {
self.0
}