#![expect(clippy::todo, reason = "skeleton: #6833")]
use alloc::boxed::Box;
use alloc::vec::Vec;
use super::{PassEvent, PassObserver, Remark};
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct RemarkRecord {
pub pass: &'static str,
pub id: Box<str>,
pub message: Box<str>,
}
#[derive(Debug, Clone, Default)]
pub struct RemarkCollector {
records: Vec<RemarkRecord>,
}
impl RemarkCollector {
#[must_use]
pub fn records(&self) -> &[RemarkRecord] {
&self.records
}
}
impl PassObserver for RemarkCollector {
fn on_remark(&mut self, event: &PassEvent<'_>, remark: &Remark<'_>) {
let _ = (event, remark);
todo!()
}
}