Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update clippy tests
  • Loading branch information
petrochenkov committed Feb 24, 2022
1 parent 83d3270 commit a30eba2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ui/macro_use_imports.fixed
Expand Up @@ -15,7 +15,7 @@ extern crate macro_use_helper as mac;
extern crate proc_macro_derive as mini_mac;

mod a {
use mac::{pub_macro, inner_mod_macro, function_macro, ty_macro, pub_in_private_macro};
use mac::{pub_macro, function_macro, ty_macro, inner_mod_macro, pub_in_private_macro};
use mac;
use mini_mac::ClippyMiniMacroTest;
use mini_mac;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/macro_use_imports.stderr
Expand Up @@ -2,7 +2,7 @@ error: `macro_use` attributes are no longer needed in the Rust 2018 edition
--> $DIR/macro_use_imports.rs:18:5
|
LL | #[macro_use]
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{pub_macro, inner_mod_macro, function_macro, ty_macro, pub_in_private_macro};`
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::{pub_macro, function_macro, ty_macro, inner_mod_macro, pub_in_private_macro};`
|
= note: `-D clippy::macro-use-imports` implied by `-D warnings`

Expand Down

0 comments on commit a30eba2

Please sign in to comment.