Merge commit 'd5e2a7aca5' into clippyup
This commit is contained in:
parent
58eb9964cc
commit
8df896c076
184 changed files with 3000 additions and 1635 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// aux-build:macro_rules.rs
|
||||
// aux-build:proc_macros.rs
|
||||
|
||||
#[macro_use]
|
||||
extern crate macro_rules;
|
||||
extern crate proc_macros;
|
||||
use proc_macros::external;
|
||||
|
||||
#[warn(clippy::string_add)]
|
||||
#[allow(clippy::string_add_assign, unused)]
|
||||
|
|
@ -22,5 +22,8 @@ fn main() {
|
|||
x = x + 1;
|
||||
assert_eq!(2, x);
|
||||
|
||||
string_add!();
|
||||
external!({
|
||||
let y = "".to_owned();
|
||||
let z = y + "...";
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue