about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbohan <bohan-zhang@foxmail.com>2023-10-15 19:38:22 +0800
committerbohan <bohan-zhang@foxmail.com>2023-10-22 21:27:46 +0800
commit4335c28677a1222278b2c1f57683668d088b3cb3 (patch)
treeaa3930dd2d5b884ca63380c360738fc515899d8b
parent7a20da333bced58fe9231f40e641dbd9161333e8 (diff)
downloadrust-4335c28677a1222278b2c1f57683668d088b3cb3.tar.gz
rust-4335c28677a1222278b2c1f57683668d088b3cb3.zip
use visibility to check unused imports and delete some stmts
-rw-r--r--src/config/options.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/options.rs b/src/config/options.rs
index 3aa1a4de99d..231a1ceb199 100644
--- a/src/config/options.rs
+++ b/src/config/options.rs
@@ -1,3 +1,5 @@
+#![allow(unused_imports)]
+
 use std::collections::{hash_set, HashSet};
 use std::fmt;
 use std::path::{Path, PathBuf};