mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Make macro_call a ref
This commit is contained in:
parent
7c8690ca97
commit
2c3ae882e8
1 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ impl<'tcx> LateLintPass<'tcx> for FormatArgs {
|
||||||
let linter = FormatArgsExpr {
|
let linter = FormatArgsExpr {
|
||||||
cx,
|
cx,
|
||||||
expr,
|
expr,
|
||||||
macro_call,
|
macro_call: ¯o_call,
|
||||||
format_args: &format_args,
|
format_args: &format_args,
|
||||||
ignore_mixed: self.ignore_mixed,
|
ignore_mixed: self.ignore_mixed,
|
||||||
};
|
};
|
||||||
|
@ -210,7 +210,7 @@ impl<'tcx> LateLintPass<'tcx> for FormatArgs {
|
||||||
struct FormatArgsExpr<'a, 'tcx> {
|
struct FormatArgsExpr<'a, 'tcx> {
|
||||||
cx: &'a LateContext<'tcx>,
|
cx: &'a LateContext<'tcx>,
|
||||||
expr: &'tcx Expr<'tcx>,
|
expr: &'tcx Expr<'tcx>,
|
||||||
macro_call: MacroCall,
|
macro_call: &'a MacroCall,
|
||||||
format_args: &'a rustc_ast::FormatArgs,
|
format_args: &'a rustc_ast::FormatArgs,
|
||||||
ignore_mixed: bool,
|
ignore_mixed: bool,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue