Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for #78894 #71450 #121961

Merged
merged 2 commits into from
Mar 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add test for #78894
  • Loading branch information
surechen committed Mar 4, 2024
commit 6e9f59f967f6d749f0a20f0c9042dd93b39e4651
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;
petrochenkov marked this conversation as resolved.
Show resolved Hide resolved
}
Loading