Make SEMICOLON_IN_EXPRESSIONS_FROM_MACROS warn by default
This commit is contained in:
@@ -290,7 +290,7 @@ macro_rules! dbg {
|
||||
// `$val` expression could be a block (`{ .. }`), in which case the `eprintln!`
|
||||
// will be malformed.
|
||||
() => {
|
||||
$crate::eprintln!("[{}:{}]", $crate::file!(), $crate::line!());
|
||||
$crate::eprintln!("[{}:{}]", $crate::file!(), $crate::line!())
|
||||
};
|
||||
($val:expr $(,)?) => {
|
||||
// Use of `match` here is intentional because it affects the lifetimes
|
||||
|
||||
Reference in New Issue
Block a user