diff --git a/ui_test/src/lib.rs b/ui_test/src/lib.rs index da562fcac7d2..bebda768babe 100644 --- a/ui_test/src/lib.rs +++ b/ui_test/src/lib.rs @@ -10,13 +10,13 @@ use std::sync::Mutex; pub use color_eyre; use color_eyre::eyre::Result; use colored::*; -use comments::ErrorMatch; +use parser::ErrorMatch; use regex::Regex; use rustc_stderr::{Level, Message}; -use crate::comments::{Comments, Condition}; +use crate::parser::{Comments, Condition}; -mod comments; +mod parser; mod rustc_stderr; #[cfg(test)] mod tests; diff --git a/ui_test/src/comments.rs b/ui_test/src/parser.rs similarity index 100% rename from ui_test/src/comments.rs rename to ui_test/src/parser.rs diff --git a/ui_test/src/comments/tests.rs b/ui_test/src/parser/tests.rs similarity index 100% rename from ui_test/src/comments/tests.rs rename to ui_test/src/parser/tests.rs