Stop using in_band_lifetimes
This commit is contained in:
parent
fccf07bae5
commit
02ec39b2ff
77 changed files with 216 additions and 189 deletions
|
|
@ -63,7 +63,7 @@ declare_clippy_lint! {
|
|||
|
||||
declare_lint_pass!(InconsistentStructConstructor => [INCONSISTENT_STRUCT_CONSTRUCTOR]);
|
||||
|
||||
impl LateLintPass<'_> for InconsistentStructConstructor {
|
||||
impl<'tcx> LateLintPass<'tcx> for InconsistentStructConstructor {
|
||||
fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'_>) {
|
||||
if_chain! {
|
||||
if !expr.span.from_expansion();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue