-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove stdout, fix clippy warnings, fmtcar
- Loading branch information
Showing
5 changed files
with
76 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,46 @@ | ||
error: `macro_use` attributes are no longer needed in the Rust 2018 edition | ||
--> $DIR/macro_use_imports.rs:5:1 | ||
--> $DIR/macro_use_imports.rs:15:5 | ||
| | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use std::prelude::<macro name>` | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::pub_macro` | ||
| | ||
= note: `-D clippy::macro-use-imports` implied by `-D warnings` | ||
|
||
error: aborting due to previous error | ||
error: `macro_use` attributes are no longer needed in the Rust 2018 edition | ||
--> $DIR/macro_use_imports.rs:15:5 | ||
| | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner_mod_macro` | ||
|
||
error: `macro_use` attributes are no longer needed in the Rust 2018 edition | ||
--> $DIR/macro_use_imports.rs:15:5 | ||
| | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::function_macro` | ||
|
||
error: `macro_use` attributes are no longer needed in the Rust 2018 edition | ||
--> $DIR/macro_use_imports.rs:15:5 | ||
| | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::ty_macro` | ||
|
||
error: `macro_use` attributes are no longer needed in the Rust 2018 edition | ||
--> $DIR/macro_use_imports.rs:15:5 | ||
| | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::pub_in_private_macro` | ||
|
||
error: `macro_use` attributes are no longer needed in the Rust 2018 edition | ||
--> $DIR/macro_use_imports.rs:17:5 | ||
| | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mini_mac::ClippyMiniMacroTest` | ||
|
||
error: `macro_use` attributes are no longer needed in the Rust 2018 edition | ||
--> $DIR/macro_use_imports.rs:19:5 | ||
| | ||
LL | #[macro_use] | ||
| ^^^^^^^^^^^^ help: remove the attribute and import the macro directly, try: `use mac::inner::try_err` | ||
|
||
error: aborting due to 7 previous errors | ||
|