Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-raillard-arm committed Jan 5, 2024
1 parent 7934746 commit 9eff949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/analysis/trace-tools/src/lib/print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ pub fn print_events<R: BorrowingRead + Send, W: Write + Send>(

let env = BufferEnv::new(scratch, header, data);

// rustc fails to infer Higher Rank Trait Bound (HRTB) for the lifetime of references
// passed as parameters, so we force them to be
fn ensure_hrtb<T1, T2, U, F>(f: F) -> F
where
F: FnMut(&mut T1, &T2) -> U
Expand Down

0 comments on commit 9eff949

Please sign in to comment.