Skip to content

Commit b91ec30

Browse files
committed
Update clippy tests
1 parent 179ce18 commit b91ec30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/clippy/tests/ui/macro_use_imports.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ extern crate macro_use_helper as mac;
1515
extern crate proc_macro_derive as mini_mac;
1616

1717
mod a {
18-
use mac::{pub_macro, inner_mod_macro, function_macro, ty_macro, pub_in_private_macro};
18+
use mac::{pub_macro, function_macro, ty_macro, inner_mod_macro, pub_in_private_macro};
1919
use mac;
2020
use mini_mac::ClippyMiniMacroTest;
2121
use mini_mac;

src/tools/clippy/tests/ui/macro_use_imports.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: `macro_use` attributes are no longer needed in the Rust 2018 edition
22
--> $DIR/macro_use_imports.rs:18:5
33
|
44
LL | #[macro_use]
5-
| ^^^^^^^^^^^^ 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};`
5+
| ^^^^^^^^^^^^ 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};`
66
|
77
= note: `-D clippy::macro-use-imports` implied by `-D warnings`
88

0 commit comments

Comments
 (0)