Merge commit 'd5e2a7aca5' into clippyup

This commit is contained in:
Philipp Krones 2023-03-24 14:04:35 +01:00
parent 58eb9964cc
commit 8df896c076
184 changed files with 3000 additions and 1635 deletions

View file

@ -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 + "...";
});
}