Add a test for duplicated attributes on use items

This commit is contained in:
topecongiro 2018-05-06 17:00:51 +09:00
parent 17b04f181d
commit f81b94c7c1
2 changed files with 8 additions and 0 deletions

View File

@ -93,3 +93,7 @@ use a::{b::{c::{xxx, yyy, zzz}}};
/// This line is not affected.
// This line is deleted.
use c;
// #2670
#[macro_use]
use imports_with_attr;

View File

@ -105,3 +105,7 @@ use a::b::c::{xxx, yyy, zzz};
/// This line is not affected.
// This line is deleted.
use c;
// #2670
#[macro_use]
use imports_with_attr;