add test for #78894
This commit is contained in:
parent
70aa0b86c0
commit
6e9f59f967
14
tests/ui/lint/use-redundant/use-redundant-issue-78894.rs
Normal file
14
tests/ui/lint/use-redundant/use-redundant-issue-78894.rs
Normal file
@ -0,0 +1,14 @@
|
||||
//@ check-pass
|
||||
//@ edition:2018
|
||||
#![warn(unused_imports)]
|
||||
|
||||
fn main ()
|
||||
{
|
||||
bar!();
|
||||
|
||||
macro_rules! bar {
|
||||
() => ();
|
||||
}
|
||||
|
||||
use bar;
|
||||
}
|
Loading…
Reference in New Issue
Block a user