test for new behavior

This commit is contained in:
AdnoC
2020-12-29 22:52:47 -07:00
parent 6eeec5d75f
commit 58c1949a7b
+16
View File
@@ -636,6 +636,22 @@ fn test_check_unnecessary_braces_in_use_statement() {
use a;
use a::{c, d::e};
mod a {
mod c {}
mod d {
mod e {}
}
}
"#,
);
check_no_diagnostics(
r#"
use a;
use a::{
c,
// d::e
};
mod a {
mod c {}
mod d {