Diagnostic Remap Path Prefixes added.

This commit is contained in:
James Leitch
2021-04-20 20:03:35 -07:00
parent 60841f4276
commit 9fcad82980
5 changed files with 53 additions and 37 deletions

View File

@@ -12,6 +12,7 @@ pub(crate) type CheckFixes = Arc<FxHashMap<FileId, Vec<Fix>>>;
#[derive(Debug, Default, Clone)]
pub struct DiagnosticsMapConfig {
pub remap_path_prefixes: FxHashMap<String, String>,
pub warnings_as_info: Vec<String>,
pub warnings_as_hint: Vec<String>,
}