Skip to content

Commit

Permalink
add test for rust-lang#78894
Browse files Browse the repository at this point in the history
  • Loading branch information
surechen committed Mar 4, 2024
1 parent 70aa0b8 commit 6e9f59f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/ui/lint/use-redundant/use-redundant-issue-78894.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//@ check-pass
//@ edition:2018
#![warn(unused_imports)]

fn main ()
{
bar!();

macro_rules! bar {
() => ();
}

use bar;
}

0 comments on commit 6e9f59f

Please sign in to comment.